Skip to main content
Version: Streamsheets 2.5

HTTP.RESPOND2

star 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

NameDescription
RequestIdRequestId 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

FormulaResultComment