Request
The request object is used to set the request parameters.
Property |
Type |
Required / Optional |
Description |
---|---|---|---|
url |
string |
required |
The HTTPS URL being requested. Parameters can be passed as part of the URL using a query string. |
body |
array|object|string |
optional |
The data passed to the server. If the data is passed as an array or object, it will be JSON serialized and URL encoded automatically. Nested arrays and objects are supported. If the data is passed as a string, it must be encoded correctly by the user. The GET method does not support this property. |
headers |
object |
optional |
The HTTPS headers. The MIME type is set automatically to application/json when body is an array or object. |