UNPKG

@esri/arcgis-rest-request

Version:

Common methods and utilities for @esri/arcgis-rest-js packages.

13 lines (12 loc) 523 B
/** * Checks parameters to see if we should use FormData to send the request * @param params The object whose keys will be encoded. * @return A boolean indicating if FormData will be required. */ export declare function requiresFormData(params: any): boolean; /** * Converts parameters to the proper representation to send to the ArcGIS REST API. * @param params The object whose keys will be encoded. * @return A new object with properly encoded values. */ export declare function processParams(params: any): any;