requiresFormData
requiresFormData
requiresFormData(params: any): boolean
Checks parameters to see if we should use FormData to send the request
Parameters
Parameter | Type | Notes |
---|---|---|
params | any | The object whose keys will be encoded. |
Returns
boolean
A boolean indicating if FormData will be required.