HTTP Request
HTTP Request calls a web address from your workflow and saves the response so later nodes can use it.
Screenshot placeholder
When to use it
Use it when you need to read from or send data to a REST API. In the palette it is described as "REST API call". On the canvas the node shows a coloured badge with the method, such as GET or POST.
Settings
The settings panel has four sections.
Request
| Field | What it does | Notes |
|---|---|---|
| Method | The kind of request | GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS. Default GET |
| URL | The address to call | Placeholder https://api.example.com/v1/users |
| Params | Query string key-value pairs | Rows of Key and Value. Values can use {{variable}} |
| Headers | Request headers, such as Accept or Content-Type | Same row editor |
In Params and Headers, each row has a checkbox to switch it on or off, and a remove button. Click Add row for another one.
Body
The Body section only appears for methods other than GET, HEAD and OPTIONS.
| Field | What it does | Notes |
|---|---|---|
| Body type | How the body is sent | none, x-www-form-urlencoded, form-data (multipart), raw – JSON, raw – text / XML / HTML. Default is JSON |
| Body | The content | For JSON the hint is "JSON — supports {{ Jinja2 }} templates". For the two form types it is a key-value list |
| Content-Type | Raw bodies only | Text, XML, HTML or JavaScript. Default Text |
Authentication
| Field | What it does | Notes |
|---|---|---|
| Auth type | How to sign the request | None, Bearer token, Basic auth (user:pass), API key header. Default None |
| Auth value | The secret to send | Hidden input, placeholder {{env.API_KEY}}. Bearer: the token without "Bearer ". Basic: username:password. API key: Header-Name: value, or just the value, which is sent as X-API-Key |
Options
| Field | What it does | Notes |
|---|---|---|
| Timeout (ms) | How long to wait for a reply | Default 30000 (30 seconds) |
| Output key | Name under which the response is saved | A new node starts with http_output. If empty, the form shows response |
| Follow redirects | Whether to follow redirects | On by default |
| Extract path (JSONPath) | Keep only part of the response | Example $.data.items. Empty keeps everything |
Inputs and outputs
- Input: one connection at the top.
- Output: one connection at the bottom. The response is stored under the Output key.
Example
Illustrative. To look up a customer, set Method to GET, URL to https://api.example.com/v1/users/{{ input.id }}, Auth type to Bearer token, and Extract path to $.data. A later node reads the result from the output key.
Tips
- Switch a header or param row off with its checkbox instead of deleting it while you test.
- Use Extract path to keep the saved data small.
- Sibling nodes exist for other API styles: GraphQL, SOAP and gRPC each have their own node and settings. They are not part of the core list covered here.