HTTP Request Runner
AI-generatedSummary
Execute HTTP requests using Axios, Fetch, or a custom JavaScript script with support for various HTTP methods, headers, query parameters, request bodies, proxies, and random User-Agent headers.
Inputs
- library (required) — Select which HTTP client library to use: 'axios', 'fetch', or 'custom' script.
- method (required) — HTTP method to use for the request; available when using 'axios' or 'fetch' library (GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS).
- url (required) — The URL to make the HTTP request to; used with 'axios' or 'fetch'.
- headers — JSON object specifying HTTP request headers.
- randomUserAgent — Boolean to enable or disable automatic use of a random User-Agent header.
- body — JSON object for the HTTP request body; available for POST, PUT, PATCH with 'axios' or 'fetch'.
- queryParams — JSON object specifying URL query parameters to append to the request URL.
- timeout — Request timeout in milliseconds.
- proxy — Optional proxy server URL (HTTP or HTTPS) for 'axios' and 'fetch' (though fetch does not support proxy).
- script (required) — Custom JavaScript to perform HTTP requests when using 'custom' library option; has access to axios, fetch, input items, current item, index, a randomly selected proxy agent from the given list, and random user-agent string.
- proxyList — For custom scripts, a newline-delimited list of proxies in IP:PORT:USER:PASS format from which a random proxy is selected and provided as $proxyAgent.
- returnFullResponse — Boolean to choose whether to return only response data or full response including status, headers, and status text.
- parallelExecution — Boolean to control whether multiple input items are processed in parallel or sequentially.
Output shape
a list of items, each containing JSON with the HTTP response data or full response depending on configuration
If 'returnFullResponse' is true, the output JSON includes 'data', 'status', 'statusText', and 'headers' fields. If the node fails and 'Continue On Fail' is enabled, output includes an 'error' field with the error message. Processes each input item independently, optionally in parallel.
Examples
Example 1: Send a GET request to an API endpoint using axios, automatically adding a random User-Agent header, and returning only the JSON response data.
Select 'Axios' for Library, 'GET' for Method, enter target URL, keep 'Random User-Agent' enabled, and disable 'Return Full Response'.