Generate Token for rest message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2023 07:42 AM
Hi Team,
I have the username and password which is used to generate the API Bearer token. After this token is generated, I need to use it for calling another endpoint.
Can I use Oauth 2.0 to configure these details to fetch the token to avoid calling the two endpoints? Any help?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2023 03:26 PM
Hi, unfortunately your question\requirement is not very clear.
Your post mentions 2 completely separate queries to 2 different end points, a token query and a subsequent query to a different end point (which would include the results of the token query). You could call these queries sequential in a script, but unless your target platform has a solution that allows a single query you are still making 2 separate (and very different) REST calls to 2 separate\different end points.