--- title: "Using POST Method With REST Service Integration" slug: "using-post-method-rest-service-integration" description: "This document shows how to setup and use a REST service integration with POST. The included example shows how to create a flow that makes a call with POST that uses and interprets Json data. " tags: ["REST Service", "integration", "POST"] updated: 2026-06-30T18:18:37Z published: 2026-06-30T18:18:37Z canonical: "documentation.decisions.com/using-post-method-rest-service-integration" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Using POST Method With REST Service Integration ## Overview A POST method is used to send data to a server via API. It also creates subordinate resources, such as a file in a directory. REST Services are a folder that can hold any number of REST methods. For more information, please visit the following article on [Rest Service Integration](/version-10/docs/rest-service-integration-overview). ## Example In this example, a REST Service will be created with the POST method that sends new account data to a server. For confirmation, a Flow will then be created to send a JSON object with a custom Request Body. 1. In a Designer Project, click CREATE DATATYPES/INTEGRATION. Select **External Services** and click **Add REST Service.** Creating a REST integration via Add REST Service Integration within the Integrations Folder is possible. It is advised to create the integration within a Designer Folder instead. This allows the user more mobility with the project, should they have to export/import the integration to another instance, and ease access.  ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781815066677.png) 2. In the **Add REST Service** window, define the **Service Name** and enter "https://postman-echo.com/" for the **Service URL.** Click SAVE INTEGRATION.When defining the Service URL, make sure the Ping Result is 200 to indicate a successful connection to the Service URL. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781815484806.png) 3. Click within the Rest Service folder and select **Add Method to Service**.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781815507849.png) 4. In the New REST Service Method, enter a Name for the method and type "post" in the **URL (Relative to Base)** field. Click the drop-down list for **HTTP Method** and select **POST**. 5. Select **JSON** for the **Content-Type** field and **Specify Below (Use {} for variables)** for the **Request Body Format** field.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781815573549.png) 6. Copy and paste the following code into the **Request Body** field. This code will create inputs within the REST service for users to submit account information. ```json { "accountID": {AccountID}, "dob": {DateOfBirth} } ``` JSON 7. Click OK to save and close. 8. In the Designer Project, click CREATE FLOW and select **Flow**. Name the Flow and click CREATE. 9. Navigate to **Integrations > REST Services > [REST SERVICE]** in the steps toolbox and select the POST method step. 10. From the **Properties** panel for the REST service, set Constant values for the **Account ID** and **Date of Birth** fields. Connect the **Done** and **Error** paths to the **End** step. Click **Save** to save changes to the Flow.![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781815653891.png) --- ## Debug 1. Select **Debug** from the top panel of the Flow Designer. Click START DEBUGGING. 2. To view the REST service results, select the **REST Service** step, select **Execution 1**, and select **View Input/Output Data.** If the Flow runs successfully, it will return the expected data return, a Status Code of 200, and the data of the Headers from the POST call. ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1781815671212.png)