• Documentation
  • Workato Blog
  • Product Blog
  • Return to Workato
  • Log in
  • ☰
  • Solutions
  • Forums
  • Tickets
Solution home App Resources HTTP

HTTP: Make REST Request Action - Request headers

Created by: Adam Goh

Modified on: Wed, May 31, 2017 at 12:49 PM

HTTP REST Request Action - Request headers

Adding additional details to your HTTP calls


What are request headers?

To have a big picture on how API works, we first must know how our API requests look like.


In an API call, or a HTTP request, the data is structured to different layers. Each layers coincides with different data used in different stages.


requestpacket.jpg


The Request Header, as shown as the third layer in the diagram above, contains information that will be sent together with the request body that allows API to understand what kind of request it will be handling.


How do we know if an API endpoint requires Request Headers?

Always attempt to refer back to your application's API document is your best bet. A well documented API documentation usually contains a sample call for the API endpoint. In the sample call, look out for the term

--headers

This is where the data should be located in the Request headers section. Here is an example of Prosperworks API

http_header.png


Understanding this, you can now easily follow the sample request, and fill in the desired details into the Request headers section. Note that each line will represent one header data.


http_request_headers.png


A
Adam is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

Related Articles

    Still can't find your solution?

    Visit our forums to search for answers, or post your own questions.

    Documentation
    Developer's Library
    Tutorials
    eBooks
    Expert Hour
    Product Hour
    Product Blog
    Workato Blog
    Product updates
    Customer Stories
    Workato 2018 © | Privacy | Terms | +1 (844) GO-WORKATO
    • Documentation
    • Workato Blog
    • Product Blog
    • Solutions
    • Forums
    • Tickets
    • Log in
    • Return to Workato