Converts the input data to a FormData object and returns it.
Optional
The data to be converted to FormData
The FormData object containing the converted data
convertToFD({ string: 'value', array: ['value1', 'value2'], file: file }); Copy
convertToFD({ string: 'value', array: ['value1', 'value2'], file: file });
Generated using TypeDoc
Converts the input data to a FormData object and returns it.