Skip to content

Outputs: REST Responder

TekMonks edited this page Mar 14, 2019 · 1 revision

The REST Responder

The REST responder output node is used to send the message back as a rest response to an incoming REST call. This completes the REST request/response model for an API hosted on the ASB.

The REST responder auto-correlates to the REST listener, i.e. the response is automatically sent to the correct caller.

The code block below documents the format for the REST response output node.

"output": {
	"type":"rest_responder",
	"dependencies":[["route2"],["route.error"]]
}

No custom properties are required as it auto-correlates to the REST request.