reply with xml from json

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

reply with xml from json v13.0.5

Reply to any httpconnection with XML using a JSON object

In pins 6 + 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 Root required
    value
  • data required
    object
Out pins 1 + flow
  • flow
    flow
  • connection
    httpconnection

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

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

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