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
I used this for Post my object data as Form Data.
const encodeData = require('querystring'); const object = {type: 'Authorization', username: 'test', password: '123456'}; console.log(object); console.log(encodeData.stringify(object));