Http.request

Syntax

Http.request( method, url [, params] );

Description

Creates an Http.Request object.

Parameters

Parameter Description
method HTTP(s) method: 'GET', 'HEAD', 'POST', 'PUT', 'DELETE' etc.
url The URL to send the request to.
params.query Query parameters to be appended to the request URL.
params.headers Request headers object.
params.timeoutSeconds The number of seconds to wait before the request times out. The default value is 100 seconds.

Examples

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.