Skip to content

Set Method Node

Web/API/Request

Set Method

Sets the method of a http request

http_set_methodweb
Inputs2
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

2

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

Method

String
method

The method of the request

Default GET
GETPOSTPUTDELETEPATCH

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_method
Category
Web/API/Request