Make HTTP Request
Makes an HTTP request
- URL to send the HTTP request
- HTTP method (GET, POST, PUT, PATCH, or DELETE)
- Query string to be added to the URL (e.g. http://example.com/?name=dk&age=29)
- HTTP headers
- Note: The
Content-Type
header is set automatically if the Body Type is JSON or Form
- Type of the request body
- None
- Request has no body
- JSON
- You can either put in a literal JSON object or use
JSON.stringify
in a Run Script command to generate the JSON - The
Content-Type
header is automatically set toapplication/json
- Form
- The
Content-Type
header is automatically set toapplication/x-www-form-urlencoded
- Raw
- The
Content-Type
header is NOT automatically set and must be added to the Headers field
- Request body
- Name of the variable to store the response
- The response is a plain object with three properties:
status
: The status of the responseheaders
: The headers of the responsedata
: The body of the response
- Tip: When building a flow that uses Make HTTP Request, use the Variables tab in the console to inspect the HTTP response
Last modified 1yr ago