Debug upload

This commit is contained in:
Kristian Polso 2018-06-08 13:53:34 +03:00
parent 3e9efa7fcd
commit 4e55527adb

View file

@ -117,6 +117,7 @@ app.post('/upload-image', textParser, function(req, res) {
}, },
body: req.body, body: req.body,
}, function(error, response, body) { }, function(error, response, body) {
console.log(body);
body = JSON.parse(body); body = JSON.parse(body);
res.json(body); res.json(body);
}); });