Action Network
HTTP Request
Performs an HTTP request to a specified URL, enabling integrations with any REST API.
Node IDHttpRequestAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
URL url | string | Yes | — | The full URL for the request. Can be set by a data connection. |
Method method | enum | Yes | GET | The HTTP method to use. |
Headers (JSON) headers | textarea | No | — | A JSON string representing request headers. E.g., {\"Content-Type\": \"application/json\"}. Can be set by a data connection. |
Request Body body | textarea | No | — | The body of the request, often a JSON string. Can be set by a data connection. |
Allow Private Networks allowPrivateNetworks | boolean | No | false | If false (default), requests to private/internal networks (localhost, 10.x.x.x, 192.168.x.x, etc.) are blocked for security (SSRF protection). Enable only if you need to access internal services. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | An incoming execution signal. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
Response Body output0 | object | response_body | Emits a data object with the response body (parsed as JSON if possible, otherwise plain text). |
Status Code output1 | object | status_code | Emits a data object with the integer HTTP status code of the response (e.g., 200). |
Response Headers output2 | object | response_headers | Emits a data object with the response headers. |