Skip to main content
Version: Streamsheets 2.4


star This is a Streamsheets Enterprise feature. This is a leagacy function and was replaced by HTTPRESPOND()

This is a leagacy function and was replaced by HTTP.RESPOND()

Sends either arbitrary JSON data or a message from the outbox to specified Producer. Usually this function is used to respond to a previously received request-message. You can use the Function Wizard for this function.


=REST.RESPOND(Consumer, RequestId, Body, [StatusCode, Headers])


ConsumerName of the Consumer to use for sending respond.
RequestIdThe requestId as provided by a previously received request-message
BodyData to send as response.
StatusCodeOptional. Defaults to 200. HTTP status code of the response.
HeadersOptional. Headers of the response.

Return Value

TRUE on success or error code otherwise.