You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Rest connection to Invoke Thirdparty

Received Response
11
Views
2
Comments

Summary:

Rest connection from to invoke a thridparty



Content (required):

Hi All,

I am trying to invoke a thridparty using the rest API. Below is the curl command to get the token (this is working from postman)

***********************

 curl --location --request POST 'https://AAAAA.com/AuthServer/api/Token' \

--header 'Authorization: Basic 1234zxcvqwer' \

--header 'Content-Type: application/json' \

--data-raw '{

"grant_type": "client_credentials",

"user_login": "NNNNNNN" }'

******************************

create a Rest connection in OIC(OAuthTwolegged) and below is the Access Token request format. Connection is successful.

-X POST -H "Content-Type: application/x-www-form-urlencoded" -H "Authorization:Basic 1234zxcvqwer" -d 'grant_type=client_credentials&user_login=NNNNNNN'

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!