Last active
August 29, 2015 14:02
-
-
Save jonlil/054ba7446a0eb0192e71 to your computer and use it in GitHub Desktop.
express upload endpoint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var multipart = require('connect-multiparty'); | |
app.post('/upload', multipart(), function(req, res, next) { | |
var files = req.files; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment