Skip to content
SoulFire LogoSoulFire

Network

Inputs, outputs, and defaults of the 1 built-in node in the Network category.

Generated from the pinned SoulFire source. Regenerate these pages with bun run generate-node-reference.

Web Fetch

network.web_fetch (expensive operation)

Performs HTTP requests with full control over method, headers, and body

Also called: http, fetch, request, api, rest, web, url, get, post.

Inputs

PortTypeRequired / defaultDescription
in (In)execOptionalExecution input
url (URL)stringRequiredThe URL to fetch
method (Method)string"GET"HTTP method (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS)
headers (Headers)string"{}"JSON object of headers
body (Body)string""Request body (for POST/PUT/PATCH)
timeout (Timeout)number30000Timeout in milliseconds

Outputs

PortTypeDescription
exec_success (Success)execExecutes on successful request
exec_error (Error)execExecutes on failed request
response (Response)stringResponse body as string
statusCode (Status Code)numberHTTP status code
responseHeaders (Response Headers)stringResponse headers as JSON object
success (Success)booleanWhether request succeeded (2xx status)
errorMessage (Error Message)stringError message if failed

Implementation

How is this page?

Last updated on