Etapas do fluxo de trabalho

Å

type: "http"

Any HTTP petition, con il suo loop custodito: ogni redirezionament è re-checked, la risposta è plafoned, e il timeout è delimitat.

url required5 redirects10 MB · 15 minutes
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

urlstringobrigatório

Onde. Disparès è negat a salva.

methodstringPOST

Qualsiasi metodo.

headersobject

Aggiunto a Content-Type: application/json.

bodyanythe run's context

Enviato come JSON. Absente envia la entrada e la step outputs.

timeoutMsinteger900 000

Quinze 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 text

Le redireccions sono seguite di mano

Ogni salto è verificato di nuovo

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

CoisaLimite
Risposta10 MB
Redirecciona5
Tempo stop15 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.