Skip to main content

HTTP Client: Request

Perform an HTTP request.

Input

Trigger
An event that will trigger the call.

Parameters

URLREQUIRED
URL you want to perform the request.
URI parameters

Inject dynamic parameters in your base url.


Dynamic uri parameters

Example:
Url: https://example.com/v1/{identifier}
Injected "identifier": hello
-> generated url will be https://example.com/v1/hello
Query parameters

Handle query parameters in your url. If Dynamic is checked you will be able to inject it as a connector in your function input.


Query parameters

Example:
Url: https://example.com/v1/hello
Query params:
- offset | 0 | offset_label | dynamic
- limit | 10 | limit_label

Injected "offset": 10
-> generated url will be https://example.com/v1/hello?offset=10&limit=20
Body (Only for PATCH & POST)

Add given configured body to the request.


  • Text: Add given text to body
  • Json: Add given JSON to body
  • Form: Add given form to body (in JSON representation)
  • Dynamic (Text | Json | Form): Allow reception of the body from an input connector
Example:
- Text: hello
- Json: {"hello": "world"}
- Form: {"hello": "world"}
- Dynamic -> retrieved from input connector
Headers

Add given headers to your request. If Dynamic is checked you will be able to inject it as a connector in your function input.


Headers

Example:
Url: https://example.com/v1/hello
Query params:
- Header-1 | Hello
- Header-2 | World | Dynamic

Injected "Header-2": France
-> generated request will be https://example.com/v1/hello -H 'Header-1: Hello' -H 'Header-2: France'
Response Type

In which format to expect the response.


  • Text (default): Retrieve body as a simple text
  • Json: Retrieve body as a valid JSON
  • Bytes: Retrieve body as buffer
Allowed HTTP response codes

Which responses code to accept (default is 200). See HTTP codes list.

Output

Text | Json | Bytes

Based on response type configuration (cf. Parameters > Response Type).

Cookies

Cookies set by the server, see function: Extract Cookie Value to retrieve specific value.

Headers

Headers set by the server, see function: Extract Header Value to retrieve specific value.