Good morning,
I am trying to implement PayPal REST API with the REST actions of RoboTask.
Unfortunately I already fail to generate the access token.
I am using the information from https://developer.paypal.com/api/rest/authentication/:
- Sandbox URL "https://api-m.sandbox.paypal.com/v1/oauth2/token"
- Method "POST"
- and in "Body" I am using the described information with real data -u "<CLIENT_ID>:<CLIENT_SECRET>" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=client_credentials"
The result is the following error message:
I've already tried various settings, but I can't get it to work.
Is there an example somewhere of how REST has to be set up in RoboTask or can you give me a hint how the setup has to be?
Thanks in advance!
PayPal REST API
Re: PayPal REST API
I could solve my problem with the following settings:
With these settings I am getting a response from PayPal.
With these settings I am getting a response from PayPal.
Re: PayPal REST API
-u -H and -d are a command line parameters (commands) of CURL.EXE system utility- and in "Body" I am using the described information with real data -u "<CLIENT_ID>:<CLIENT_SECRET>" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=client_credentials"
Oleg Yershov