From 06aadb1ced00fa155534c4d32ca682c8e7e0f77a Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Thu, 19 Nov 2015 10:22:45 +0000 Subject: [PATCH] getting it right --- routes/temp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/temp.js b/routes/temp.js index 380ec30..7081b21 100644 --- a/routes/temp.js +++ b/routes/temp.js @@ -101,7 +101,7 @@ router.get('/reading', function(req, res, next) { router.post('/', function(req, res, next) { "use strict"; console.log('POST'); - var t = req.query; + var t = req.body; console.log('t:'); console.log(JSON.stringify(t));