From f2a0f7cfa7b90a9012c63ccafff6fcf75be22ccf Mon Sep 17 00:00:00 2001 From: william Date: Tue, 2 Feb 2016 13:28:48 -0500 Subject: [PATCH] runner --- routes/api.js | 1 + 1 file changed, 1 insertion(+) 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);