Team,
PFA,
This snapshot is from Postman where i’m using grant_type, client_id and cient_password and getting desired toekn
I need to use these same values in body of http request.
Can you guys help me with the Syntax ?
Thanks in advance
Team,
PFA,
This snapshot is from Postman where i’m using grant_type, client_id and cient_password and getting desired toekn
I need to use these same values in body of http request.
Can you guys help me with the Syntax ?
Thanks in advance
From
The post man please copy the curl and use import in http request …which would import the exact same way in UiPath
For curl click on the <\>
icon in postman select curl and copy
Generally —location might need to removed from the curl
Cheers
Thanks for this info but cannot find <> curl option.
Any snapshot of Postman will be helpful.
Put it as a String in the Body property of the HTTP Request activity e.g. "client_id={your_client_id}&client_secret={your_client_secret}&grant_type=client_credentials&scope={list_of_scopes}"
, and set Body Format to application/x-www-form-urlencoded
Using this syntax the Response code = 200 (success), but in Response i am not getting any token value
Yes i found this it is similar to as - replaced values with ****
curl --location --request POST ‘’
–header ‘Content-Type: application/x-www-form-urlencoded’
–data-urlencode 'grant_type=’
–data-urlencode 'client_id=***’
–data-urlencode ‘client_secret=*****’
Exact syntax after location removed ?
Synatx error, in each line end of expression missing
did you happen to remove the location parameter?
if not please remove from curl and then import
cheers
Are you authenticating as per the instructions here Orchestrator - Consuming Cloud API (uipath.com), or using external applications like here: Orchestrator - Accessing UiPath Resources Using External Applications?