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
numberHTTP status code to return on this response.
- type
valueSets the Content-Type HTTP header.
- 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.
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 