I am trying to send the content-type in my superagent post request to multipart/form-data.
var myagent = superagent.agent(); myagent .post(\'http://localhost/
Try .type('form') instead of .set('Content-Type', 'multipart/form-data')
.type('form')
.set('Content-Type', 'multipart/form-data')
See http://visionmedia.github.io/superagent/#setting-the-content-type