Skip to content

Set Form Body Node

Web/API/Request

Set Form Body

Sets the body of a http request to form-encoded data

http_set_form_bodyweb
Inputs3
Outputs1
Security exposure10/10
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
variant 1Array<integer:uint8>variant
itemsinteger:uint8array item
format uint8min 0max 255
variant 2stringvariant
variant 2nullvariant
Schema enforced

Fields

Struct
fields

Form fields to encode

Default {}

Set Content-Type

Boolean
set_content_type

Adds application/x-www-form-urlencoded when missing

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
variant 1Array<integer:uint8>variant
itemsinteger:uint8array item
format uint8min 0max 255
variant 2stringvariant
variant 2nullvariant

Node Info

Internal name
http_set_form_body
Category
Web/API/Request