Monday, May 6, 2024

OIC - How to Pass the Payload as URL-Encoded Form Data

 Pass the Payload as URL-Encoded Form Data

You can pass the payload as URL-encoded form data with the REST Adapter.

  1. Add a REST Adapter as an invoke connection in an integration.
    The Adapter Endpoint Configuration Wizard is displayed.
  2. On the Basic Info page, make the following selections:
    1. Select the POST verb.
    2. Select the Add and review parameters for this endpoint and Configure a request payload for this endpoint options.

      The POST verb is selected as the action to perform on the endpoint. Below this, the Configure a request payload for this endpoint and Add and review parameters for this endpoint options are selected.

  3. On the Request Parameters page, specify the query parameters and values to use.

    The Specify Query Parameters section is shown. It includes a Detach link, Add (+ sign) link, and Delete (X link). Below this is a table with columns for Name and Data Type.

  4. On the Request page, scroll to the bottom and select the Send Query Parameter as form data in message body checkbox. This enables the query parameters you defined on the Request Parameters page to be sent as URL-encoded form data in the payload.
    The Send Query Parameter as form data in message body checkbox is shown.
Reference:

No comments:

Post a Comment

Featured Post

11g to 12c OSB projects migration points

1. Export 11g OSB code and import in 12c Jdeveloper. Steps to import OSB project in Jdeveloper:   File⇾Import⇾Service Bus Resources⇾ Se...