This is a Streamsheets Premium 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])
|Consumer||Name of the Consumer to use for sending respond.|
|RequestId||The requestId as provided by a previously received request-message|
|Body||Data to send as response.|
|StatusCode||Optional. Defaults to 200. HTTP status code of the response.|
|Headers||Optional. Headers of the response.|
TRUE on success or error code otherwise.