cancel
Showing results for 
Search instead for 
Did you mean: 

Access www-form-urlencoded for REST - Token

0 Kudos

Hi. Dear Experts. I have an Scenario SOAP to REST. To get the token, the end point use a Oauth Autentication, but the issue is the URL use a content type, application/x-www-form-urlencoded, How can I send the additional parameters, because the URL no use the complete path , not access with the complet path.

Please Can you help me?

Regards

Accepted Solutions (1)

Accepted Solutions (1)

vadimklimov
Active Contributor
0 Kudos

Hello Luis,

For requests of content type 'application/x-www-form-urlencoded', key value pairs shall be transmitted in the body of the HTTP request, not in the URL. In the body, they shall form a string of &-delimited key-value pairs, with =-delimited keys/values.

Depending on the version of the PI/PO system you use and grant type that is used in OAuth authorization flow, you can either use REST adapter's standard functionality (check SAP Note 2405166), or will have to develop custom solution, that can be based, for example, on acquisition of OAuth token from within the mapping (check the blog) or by using custom adapter module (check the blog).

Regards,

Vadim

former_member607993
Contributor

Answers (0)