Send an HTTP request to any endpoint in the world.

http-request-header

The HTTP Request action allows you to send HTTP requests to external APIs or services. You can select the HTTP method, the path, and configure the parameters of the request such as authentication, header data, and body data. The result of the request will be returned as a JSON object. This action is useful for integrating with external services and retrieving data from them.

Request Body

With the request body you have the flexibility to configure the HTTP request body according to your specific needs. You can choose from a range of predefined body encodings, including:

  • JSON (application/json)
  • XML (application/xml)
  • HTML (appliation/html)
  • FormUrl (application/x-www-form-urlencoded)
  • Form Data (multipart/form-data)
  • or specify a custom encoding method.

When you opt for one of the predefined body encodings, such as JSON, XML, HTML, FormUrl, or Form Data, our system will automatically set the ‘content-type’ request header for you. This header informs the recipient server about the format of the data being sent in the request. However, if you wish to specify a custom ‘content-type’ header for your request, you have the option to do so by manually including it in the request headers section. This allows you to override the default ‘content-type’ header generated by our system, providing you with greater control over your HTTP requests.”

Output

{
    "Status": 200,
    "Body": "" // String or already parsed if response content-type is 'application/json'
    "Header": { // Response header
      "Content-Type": "application/json",
      "...": "..."
    }
}

Lessons

Learn more about the Data Base Query Action, among other things, in the following Fastgen University lessons: