urlstringrequiredWhere. Missing is refused on save.
methodstringPOSTAny method.
headersobjectAdded to Content-Type: application/json.
bodyanythe run's contextSent as JSON. Absent sends the input and the step outputs.
timeoutMsinteger900 000Fifteen minutes at most.
{ id: "notify", type: "http", config: {
url: "https://hooks.example.com/digest",
method: "POST",
headers: { Authorization: "Bearer …" },
body: { text: "{{steps.write.output.text}}" } } }{"id": "notify", "type": "http", "config": {
"url": "https://hooks.example.com/digest",
"method": "POST",
"headers": {"Authorization": "Bearer …"},
"body": {"text": "{{steps.write.output.text}}"}}}Output
{{steps.notify.output.status}} // 200
{{steps.notify.output.body}} // parsed JSON, or the text"{{steps.notify.output.status}}" # 200
"{{steps.notify.output.body}}" # parsed JSON, or the textRedirects are followed by hand
Five at most. A redirect that led somewhere private would otherwise be the whole address check undone in one hop — and that is exactly what a redirect is for, from the other side.
A redirect that browsers turn into a GET is turned into a GET here too, without the body.
The bounds
| Thing | Bound |
|---|---|
| Response | 10 MB |
| Redirects | 5 |
| Timeout | 15 minutes |
A refusal fails the step
A status outside the successful range throws, carrying the status, the address and the message the service returned — which is usually the thing that explains it.