rawRequest

Function
rawRequest(url: string, requestOptions: IRequestOptions): Promise<Response>

Generic method for making HTTP requests to ArcGIS REST API endpoints and returning the native response.

Parameters

ParameterTypeDefaultNotes
urlstring

The URL of the ArcGIS REST API endpoint.

requestOptionsIRequestOptions...

Options for the request, including parameters relevant to the endpoint.

Returns 

Promise<Response>

A Promise that will resolve with the native response.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.