Menu
HTTP Request
Make an HTTP request to any REST API endpoint
Use it in a workflow
- Add a step and choose the HTTP/REST API connector.
- Pick the HTTP Request action (under http).
- Fill in the fields below, then reference the result from later steps as
{{httpRequest.response.data}}.
Fields
Examples
GET Request
Simple GET request to fetch data
{
"url": "https://jsonplaceholder.typicode.com/users",
"method": "GET",
"headers": [
{
"key": "Accept",
"value": "application/json"
}
]
}
POST Request with JSON
POST request with JSON body
{
"url": "https://jsonplaceholder.typicode.com/posts",
"method": "POST",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": "{\"title\": \"My Post\", \"body\": \"Post content\", \"userId\": 1}"
}
GET with Query Parameters
GET request with query parameters
{
"url": "https://api.example.com/search",
"method": "GET",
"queryParams": [
{
"key": "q",
"value": "search term"
},
{
"key": "limit",
"value": "10"
}
]
}
Need more? See the HTTP/REST API guide for connection setup and behaviour shared by every action.
Was this page helpful?