Skip to content

HTTP Request

Impure

Performs an HTTP request with configurable headers, query parameters, and body.

Pure Function
No

Execute Inputs

Execution

INPUT

Execution Input.

Execute Outputs

Success

OUTPUT

Executes on 2xx status code response

Failure

OUTPUT

Executes on non-2xx status code response

Complete

OUTPUT

Executes regardless of status code.

Data Inputs

Url

INPUT

The target URL for the HTTP request.

Method

INPUT

HTTP method (GET, POST, PUT, PATCH, DELETE)

Headers

INPUT

HTTP headers for the request.

Query Params

INPUT

Query parameters for the request URL.

Body

INPUT

Request body for POST/PUT/PATCH requests.

Auth

INPUT

Auth specification

Download Path

INPUT

If provided, the HTTP response body will be written to this file instead of being returned as output.

Data Outputs

Status Code

OUTPUTinteger

HTTP response status code.

Multiple

Response Headers

OUTPUTmap

HTTP response headers.

Multiple

Response Body

OUTPUTany

The HTTP response body.

Multiple

Settings

Auto-Map Request

BOOLEAN

Will attempt to convert Map or List into json body.

Default: true

Auto-Map Response

BOOLEAN

Will attempt to map json/xml responses to a Map or List.

Default: true

Connection Timeout

INTEGER

Maximum time (in seconds) to establish a connection. A value of 0 disables the timeout.

Default: 30

Read Timeout

INTEGER

Idle timeout (in seconds) between received bytes when reading the response body. A value of 0 disables the timeout.

Default: 60

Write Timeout

INTEGER

Maximum idle time (in seconds) between sent bytes when writing the request body. A value of 0 disables the timeout.

Default: 60

Transfer Timeout

INTEGER

Total allowed time (in seconds) for the entire HTTP call, including connection, request, and response. This acts as a hard deadline for the request lifecycle. A value of 0 disables the timeout.

Default: 0

Remove Empty Queries

BOOLEAN

Will remove any empty query parameters.

Default: true

Debug

STRING

Break on node when executing.

Default: No
Options:
NoBeforeInputsBeforeProcessingAfterProcessing