Skip to main content
Version: Current

HTTP

Mode: Streaming Mode: Request-Response

Description​

HTTP component allows to perform a HTTP call.

Parameters and configuration​

Parameter names follow standard HTTP terminology. If unsure, refer to an HTTP reference such as MDN Web Docs.”

NameDescription
URLThe target URL for the request. The URL should contain scheme - typically http or https.
HTTP methodthe HTTP method to use: GET, POST, PUT, DELETE, etc
BodyThe request body. Optional for methods like POST or PUT. Can be a raw expression or structured JSON.
Output variable nameThe name of the variable that will hold the HTTP response.

Advanced parameters​

NameDescription
Path segmentsAdditional segments to append to the (base) URL. Each entry will be URL-encoded and joined with "/".
Query parametersKey-value pairs added as query parameters to the URL. Corresponds to the query string ?key=value&....
HeadersHTTP request headers. Often used for content types, authentication, or custom metadata.
Body typeDefines how the body content is serialized.
AuthorizationThe following methods are supported: No Authorization (default), Basic Auth, OAuth2, Bearer Token. Every method other than No Authorization adds its own credential parameters - see Authorization below.
Error strategyDetermines when the HTTP response is considered successful

Authorization​

The Authorization parameter (in the Advanced section) selects how the request is authorized. Choosing a method other than No Authorization adds the parameters listed below, also in the Advanced section. All of them are mandatory and their values are fixed at design time - they cannot depend on the processed event (e.g. on #input).

Authorization methodParametersHow the request is authorized
No Authorization-No Authorization header is added.
Basic AuthUsername, PasswordUsername and password are sent in the Authorization header, using the Basic scheme.
Bearer TokenBearer tokenThe token is sent verbatim in the Authorization header, using the Bearer scheme.
OAuth2Token URL, Client ID, Client secretAn access token is obtained from Token URL using the OAuth2 client credentials grant (no scope is requested) and sent as a Bearer token. The token is cached and reused across events until it expires; a request answered with 401 drops the cached token and is retried once with a newly requested one.

For all methods other than No Authorization, the Authorization header value is masked in the request data stored in the output variable.