cancel
Showing results for 
Search instead for 
Did you mean: 

Perform a Post API OAuth 2.0 call to get token and pass token to a GET API Basic Auth Header

SnapWizard
New Contributor III

I need to make a Post Rest API call using OAuth 2.0 with client_id and client_secret and then pass the token to a Get Rest API snap to make the api call Client Authentication ‘Send as Basic Auth Header’. How can I do this using the Rest Snaps?

2 REPLIES 2

Supratim
Contributor III

@SnapWizard You can try to create a REST OAuth2 Account and select "
Send Client Data as Basic Auth header".
image

I am able to create and validate the account but getting error while using the same in Rest Get and Post snaps. How to use this account in Rest Get Snap to get the token and pass the same in Rest post snap?

Please share us the same screenshots of Rest Get and Rest Post as reference.