Skip to content

API Call Node

Web/API

Performs an HTTP request

http_fetchweb
Inputs2
Outputs3
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

2

Execute

Execution
exec_in

Initiate the HTTP request

Request

Struct
request

The HTTP request to perform

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

Output Pins

3

Success

Execution
exec_success

Execution if the request succeeds

Response

Struct
response

The HTTP response

HttpResponseHttpResponse3 fields
status_codeinteger:uint16required
format uint16min 0max 65535
headersMap<string, string>required
*stringmap value
bodyarray | null
itemsinteger:uint8array item
format uint8min 0max 255

Error

Execution
exec_error

Execution if the request fails

Node Info

Internal name
http_fetch
Category
Web/API