Skip to content

Set Accept Node

Web/API/Request

Set Accept

Sets the Accept header of a http request

http_set_acceptweb
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

Accept

String
accept

The accept header value

Default application/json

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