In the browser, the api looks something like this: ``` javascript $('#file').on('change', function (event) { var xhr = new XMLHttpRequest(); xhr.upload.addEventListener('progress', onProgress, false); xhr.addEventListener('load', onSuccess, false); xhr.open('POST', '/upload/audio'); fd = new FormData(); fd.append('file', event.target.files[0]); xhr.send(fd); }); ``` I'd like to have this functionality with node.js so I can do testing.
Activity
chetandhembre commentedon Oct 3, 2012
i am also facing same problem.... need solution...
Pragmateek commentedon Jun 16, 2017
Same need here, is there any development of this feature?
Maybe another package that would implement it?
Thanks. :-)
sugarshin commentedon May 9, 2018
+1
BruceAn1978 commentedon May 19, 2018
+1