HTTP.RESPOND2
This is a premium feature.
Sends a HTTP response for the HTTP request identified by the RequestId
Syntax
=HTTP.RESPOND2(RequestId, [Body], [StatusCode], [HeadersJSON])
Arguments
Name | Description |
---|---|
RequestId | RequestId of the HTTP request that should be responded to. |
Body (optional) | Body of the HTTP response. |
StatusCode (optional) | Status code of the HTTP response. Defaults to 200. |
HeadersJSON (optional) | HTTP headers of the HTTP response. |
Return
TRUE
Examples
Formula | Result | Comment |
---|---|---|