urlstringobrigatórioOnde. Disparès è negat a salva.
methodstringPOSTQualsiasi metodo.
headersobjectAggiunto a Content-Type: application/json.
bodyanythe run's contextEnviato come JSON. Absente envia la entrada e la step outputs.
timeoutMsinteger900 000Quinze minuti, no máximo.
{ 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}}"}}}Saída
{{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 textLe redireccions sono seguite di mano
Cinqu al majù. Una redireccion che ha condut in un lugar privèd, altrimenti sarebbe l'indirizzo completo checkone in un hop — e è esattamente per questo un redireccionamento è, da l'altro lato.
Una redireccion ca i browsers diverten in un GET è transformat in un GET qui tambèn, senza corpo.
I limites
| Coisa | Limite |
|---|---|
| Risposta | 10 MB |
| Redirecciona | 5 |
| Tempo stop | 15 minuti |
Un reniego non fa il pas
Un status al disfunt del range di success, portando lo status, l'indirizzo e il messaggio che il service restituit — che è generalmente la cosa che lo explica.