Using POST Method With REST Service Integration
  • Updated on 30 Mar 2017
  • 1 minute to read
  • Print
  • Dark
    Light

Using POST Method With REST Service Integration

  • Print
  • Dark
    Light

This tutorial demonstrates how to define custom Rest Headers for Post method with Rest Service Integration .
Example:
In this example we are going to create a simple Rest Service Integration with Post method. Then, we are going to add custom Rest Header to the Service Integration . Finally, we are going to create a simple Flow to test sending JSON object with our custom Rest Header.
We begin in System > Integrations > External Services in the Portal with clicking Add REST Service Integration on Folder Actions Panel.
2018-01-08_103813-1024x540.png

In the resulting window we define Service Name and Service URL .  Also, we define Service Input Method Post and Service Content Type Json .
2018-03-16_141511.png

Then, we scroll down and define Data to send . When finished, we click SAVE to save and continue.
2018-03-16_141906-1.png

Lastly, we are going to create a simple Flow to test our Rest Service Integration . In the Designer Folder we click Create Flow on Folder Actions Panel .
2018-01-08_104912-1024x593.png

We Name the Flow and click CREATE to proceed to the Flow Designer.
2018-01-08_105025-1024x615.png

In the Flow Designer we add our Service step from Integrations > My Integrations > REST Services category.
2018-01-08_105624-1024x768.png

We can see that our Data to Send is available as Inputs to the Rest Service Step
2018-03-16_142111-1024x494.png

We can click Debug Flow on the top panel of the Flow Designer to test ourRest Service request.
2018-01-08_110947.png

Was this article helpful?