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));