Open paulomcnally opened 9 years ago
I using krakenJS
router.post('/new', multer({ dest: './public/files'}).single('upl'), function (req, res) { console.log(req.body); {} console.log(req.file); undefined res.send('xD'); });
If i remove multer({ dest: './public/files'}).single('upl') req.body = {"name": "Foo"}
On KrakenJS solved implementing this code with app.post on index.js.
How to work with express-enrouten?
Thanks
I using krakenJS
If i remove multer({ dest: './public/files'}).single('upl') req.body = {"name": "Foo"}