Skip to main content
Version: Streamsheets 2.5

REST.REQUEST

info

This function is deprecated and will be removed in a future version.

This is a legacy function and was replaced by HTTP.REQUEST() Create an https request. The result, of the request, if any, will be added to the inbox of the given target sheet. You can use the Function Wizard for this function.

Syntax

=REST.REQUEST(Producer, Path, Method, Target, [ResultKeys], [Body], [Headers], [Timeout])

Arguments

NameDescription
ProducerProducer to use for submitting the rest.request.
PathPath extending the base URL of the connector.
MethodHTTP method of the request.
TargetINBOX(), OUTBOX("MsgID") or a cell range where the result will be placed. Make sure the cell range is big enough or not everything is displayed.
ResultKeys (optional)Limit the result to the specified JSON Keys
Body (optional)Data to use as the body of the HTTP request.
Headers (optional)Headers of the HTTP request.
Timeout (optional)Number of ms after the request times out and an error is returned.

Return

The function REST.REQUEST() always returns a unique random request ID, which is automatically generated when the service is called. Otherwise an error is returned.

Examples

None