HTTP.RESPOND
Premium
Sends a HTTP response for the HTTP request identified by the RequestId
Syntax
=HTTP.RESPOND(RequestId, [Body], [StatusCode], [HeadersJSON])
Arguments
Name | Type | Description |
---|---|---|
RequestId | String | RequestId of the HTTP request that should be responded to. |
Body (optional) | JSON | Body of the HTTP response. |
StatusCode (optional) | String | Status code of the HTTP response. Defaults to 200. |
HeadersJSON (optional) | JSON | HTTP headers of the HTTP response. |
Return
Type | Description |
---|---|
Boolean,Error | Returns TRUE or in case of an error the corresponding error-code. |
Examples
Formula | Result | Comment |
---|---|---|