Skip to content

http.call

Operation: http.call
Category: http

Make an HTTP request to an external URL

Type: Native (built-in)
Timeout: 300s
Retries: 3 (ExponentialWithJitter)

NameTypeRequiredDefaultDescription
bodyJSONNoRequest body (for POST/PUT/PATCH)
NameTypeDescription
statusNumberHTTP status code
bodyJSONResponse body
{
"method": "GET",
"timeout_ms": 30000
}
import { WorkflowBuilder } from "@fabric-platform/sdk";
const workflow = new WorkflowBuilder("my-workflow")
.node("http-call", "tool", (n) =>
n.config({
operation: "http.call",
// ... node-specific config
})
)
.build();
{
"key": "call-webhook",
"operation": "http.call",
"config": {
"url": "https://api.example.com/webhook",
"method": "POST",
"headers": { "Authorization": "Bearer {{context.api_token}}" },
"timeout_ms": 10000
},
"inputs": [{ "name": "body", "path": "$context.payload" }],
"outputs": [
{ "name": "status", "path": "$context.webhook_status" },
{ "name": "body", "path": "$context.webhook_response" }
]
}

Cause: The url field is missing from the node’s config object

Fix: Add a url field to the node config — this is a config value, not an input binding