← Back to the Developer Tools category

Fetch

This node fetches data from a URL using the Fetch API with support for custom methods, headers, query parameters, and timeouts.

NetworkHTTPFetch
Try this node

Inputs

NameTypeRequiredDescription
urlstringYesThe URL to fetch.
methodstringNoHTTP method (GET, POST, PUT, DELETE, etc.)
headersjsonNoRequest headers as a JSON object (optional)
bodyanyNoRequest body (for POST, PUT, etc.) - can be string, JSON object, or BlobParameter (optional)
queryjsonNoQuery parameters as a JSON object (optional)
timeoutnumberNoTimeout in milliseconds (optional)

Outputs

NameTypeDescription
statusnumberHTTP status code
statusTextstringHTTP status text
headersjsonResponse headers as a JSON object
bodyblobResponse body with MIME type from Content-Type header
errorstringError message if the fetch fails

Related Nodes in Developer Tools