Skip to content

Set Headers Node

Web/API/Request

Sets the headers of a http request

http_set_headersweb
Inputs3
Outputs1
Security exposureUnrated
Packageweb

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

3

Request

Struct
request

The http request

HttpRequestHttpRequest4 fields
urlstringrequired
methodMethodrequired
enum "GET", "POST", "PUT", "DELETE"...
headersobject | null
*stringmap value
bodyanyOf (2)
variant 1HttpBodyvariant

Serialized externally tagged: `{"Json": value}`, `{"Bytes": [..]}`, `{"String": ".."}`. Any other shape is a body written before the tag existed and still reads as `Json`.

variant 1objectvariant
variant 2objectvariant
BytesArray<integer:uint8>required
variant 3objectvariant
Stringstringrequired
variant 2nullvariant
Schema enforced

Headers

String HashMap
headers

The headers of the request

Merge

Boolean
merge

Merge with existing headers instead of replacing

Default true

Output Pins

1

Request

Struct
request_out

The http request

HttpRequestHttpRequest4 fields
urlstringrequired
methodMethodrequired
enum "GET", "POST", "PUT", "DELETE"...
headersobject | null
*stringmap value
bodyanyOf (2)
variant 1HttpBodyvariant

Serialized externally tagged: `{"Json": value}`, `{"Bytes": [..]}`, `{"String": ".."}`. Any other shape is a body written before the tag existed and still reads as `Json`.

variant 1objectvariant
variant 2objectvariant
BytesArray<integer:uint8>required
variant 3objectvariant
Stringstringrequired
variant 2nullvariant

Node Info

Internal name
http_set_headers
Category
Web/API/Request