REST.RESPOND
 This is a premium feature.
info
This function is deprecated and will be removed in a future version.
This is a legacy function and was replaced by HTTP.RESPOND() This is a legacy 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.
Syntax
=REST.RESPOND(Consumer, RequestId, Body, [StatusCode], [Headers])
Arguments
| Name | Description | 
|---|---|
| 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. | 
Return
TRUE on success or error code otherwise.
Examples
None