Generate Token for rest message

SM16
Tera Expert

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?

1 REPLY 1

Tony Chatfield1
Kilo Patron

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.