Skip to Content
avatar image
Former Member

Access www-form-urlencoded for REST - Token

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?


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 29, 2018 at 07:15 PM

    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).



    Add comment
    10|10000 characters needed characters exceeded