browserify / browserify/http-browserify
Support `FormData`
Open
- Dominant language
- JavaScript
- Stars
- 245
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Description
Posting FormData can be done using something like:
``` js
var fd = new FormData()
fd.append('image', file)
var req = new XMLHttpRequest()
req.onload = function () {
callback(null, req.responseText)
}
req.onerror = callback
req.open('post', 'https://api.imgur.com:443/3/image.json')
req.setRequestHeader('Authorization', 'Client-ID ' + clientID)
req.send(fd)
```
However, I can see know way of handling `FormData` using the built in `http` module.
(see https://github.com/substack/node-browserify/issues/439)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.