How can I can convert my JS Object to FormData?
FormData
The reason why I want to do this is, I have an object that I constructed out of the ~100 form field valu
Try obj2fd => https://www.npmjs.com/package/obj2fd
import obj2fd from 'obj2fd' let data = {a:1, b:2, c:{ca:1}}; let dataWithFormData = obj2fd(data); //result => [a=>1, b=>2, c=>[ca=>1]]