HTTP Request
Send a fully-configurable HTTP request: query, headers, auth, typed body, retries, typed response or download to file.
API & HTTPHTTPRequest
What it does
Send a fully-configurable HTTP request: query, headers, auth, typed body, retries, typed response or download to file.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| URL | string | Required | Example: https://api.example.com/items Supports variables | |
| Method | dropdownGET · POST · PUT · PATCH · DELETE · HEAD · OPTIONS | Required | GET | |
| Query params (optional) | multiline | Optional | JSON object or 'key=value' / 'key: value' lines. Supports variables | |
| Headers (optional) | multiline | Optional | JSON object or 'Key: Value' lines. Supports variables | |
| Authentication | dropdownNone · Bearer · Basic · API Key (header) | Optional | None | |
| Auth value (optional) | string | Optional | Bearer token, 'user:password' for Basic, or the API key. Supports variables | |
| API key header name | string | Optional | X-API-Key | Header name when Authentication = API Key. Supports variables |
| Body type | dropdownNone · JSON · Form (urlencoded) · Raw · File | Optional | None | |
| Body (optional) | multiline | Optional | JSON / raw text, or 'key=value' lines for a form body. Example: {"name": "Bob"} Supports variables | |
| Body from file (optional) | file | Optional | When Body type = File, send this file's bytes. Supports variables | |
| Timeout (seconds) | number | Optional | 60 | |
| Follow redirects | dropdownYes · No | Optional | Yes | |
| Ignore TLS cert errors | dropdownNo · Yes | Optional | No | |
| Retries on failure | number | Optional | 0 | Retry network errors / 5xx this many times. |
| Response type | dropdownAuto · JSON · Text · Save to file | Optional | Auto | Auto parses JSON when the server says so, else text. |
| Download to file (optional) | file | Optional | Used when Response type = Save to file. Supports variables | |
| Fail on HTTP error (4xx/5xx) | dropdownNo · Yes | Optional | No | |
| Store response in | variable | Required | Example: response | |
| Store status code in | variable | Optional | Example: status | |
| Store response headers in | variable | Optional | Example: respHeaders |
More API & HTTP commands
Ready to automate your busywork?
Start your free 10-day trial today. No credit card, no commitment.