From e976bd3ad0606bf7ae1086ce20e1b436299146d3 Mon Sep 17 00:00:00 2001 From: william Date: Tue, 2 Feb 2016 13:20:14 -0500 Subject: [PATCH] runner --- routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.js b/routes/api.js index ece605d..a3613cc 100644 --- a/routes/api.js +++ b/routes/api.js @@ -84,7 +84,7 @@ router.get('/list', function(req, res, next) { }); }); -router.get('/run/:ip?', function(req, res, next){ +router.post('/run/:ip?', function(req, res, next){ var runner = function(res, req, ip){ request.post({url:'http://'+ip, body:req.post}, function(error, response, body){ body = JSON.parse(body);