.field function is missing options to attach binary data.
Form-data has the function append(name, value, options) to attach binary data.
This change will add an option string (e.g. 'blob') and pass it to form-data, which will allow attaching binary data directly using .field function.
e.g. .field('mydataid', binary_data_buffer, 'blob')
.field function is missing options to attach binary data. Form-data has the function append(name, value, options) to attach binary data. This change will add an option string (e.g. 'blob') and pass it to form-data, which will allow attaching binary data directly using .field function.
e.g. .field('mydataid', binary_data_buffer, 'blob')