encodeFormData

Function

Encodes parameters in a FormData object in browsers or in a FormData in Node.js

  • encodeFormData(params: any) : FormData | string

Parameters

Parameter Type Default Notes
params Required any

An object to be encoded.

Returns

FormData | string - The complete FormData object.


Function defined in packages/arcgis-rest-request/src/utils/encode-form-data.ts:12