request
request
Functionrequest(url: string, requestOptions: IRequestOptions): Promise<any>
Generic method for making HTTP requests to ArcGIS REST API endpoints.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
url | string |
| The URL of the ArcGIS REST API endpoint. |
request | IRequestOptions | ... | Options for the request, including parameters relevant to the endpoint. |
Returns
Promise<any>
A Promise that will resolve with the data from the response.