iriscouch / browser-request

Browser library compatible with Node.js request package
Apache License 2.0
358 stars 102 forks source link

formData not supported #63

Open ryanreich opened 8 years ago

edenpessach commented 8 years ago

isn't this what you are looking for?

try using 'form' instead of 'body'

qvaqvaboo commented 7 years ago

And make sure your method is 'POST', not 'post' (capital letters) https://github.com/iriscouch/browser-request/blob/master/index.js#L127

Ajk4 commented 7 years ago

I think OP meant exactly 'formData' parameter available in node. See ( #https://www.npmjs.com/package/request#requestoptions-callback )

I believe it is needed if you want to send files using multipart forms.

frxncisjoseph commented 6 years ago

@Ajk4 Indeed, nothing has been mentioned about this nor a response. This truly is something that is crucial...