reply with xml

This block is part of the xml group and was last modified in core v13.0.5.

reply with xml v13.0.5

Return to any httpconnection with XML content

In pins 5 + flow
  • flow
    flow
  • connection required
    httpconnection
  • code
    number

    HTTP status code to return on this response.

    Default 200

  • type
    value

    Sets the Content-Type HTTP header.

    Default text/xml

  • Headers
    array<object>

    Custom HTTP Headers to set, Array of Objects [{ key: Value, value: Value }]

  • xml required
    value
Out pins 1 + flow
  • flow
    flow
  • connection
    httpconnection

Sends the xml pin string verbatim as the response body : no escaping or conversion. Content-Type text/xml unless the type pin overrides it, status from the code pin (default 200); a falsy xml value sends an empty string. Flushes immediately mid-flow; an unwired or nil connection sends nothing and outputs nil.

A typical wiring for reply with xml: a function trigger starts the flow; the flow out pin feeds debug.

Studio canvas example for the reply with xml block: typical wiring for reply with xml.

Version history

Introduced in v13.0.5.


Back to xml Return to the main group to view all sub-groups Back to response Return to the group to view all blocks within this group