RestApiOptionsObject
Object containing the properties that are sent along with a request to invoke a REST API.
Properties
Name | Type | Description | Required |
body | object | The data to be sent to the
server. Example:
| ❌ |
queryPayload | object | The data of the query parameters to be used to prepare the URL of the
REST
API. Example:
| ❌ |
cancelTokenSource | object | The cancel token source object generated from the getCancelTokenSource() API. | ❌ |
headers | object | The extra request headers to be sent along with the request. | ❌ |
Previous topic isRequestCanceled(err) Next topic APIs in the RuntimeParamsAPI class