diff --git a/routes/api.js b/routes/api.js index 2f6ad79..9926ce3 100644 --- a/routes/api.js +++ b/routes/api.js @@ -86,6 +86,7 @@ router.get('/list', function(req, res, next) { router.post('/run/:ip?', function(req, res, next){ var runner = function(res, req, ip){ + console.log('req body', req.body) request.post({url:'http://'+ip, body:req.post}, function(error, response, body){ console.log('runner body:', body) body = JSON.parse(body);