diff --git a/routes/temp.js b/routes/temp.js index 627ff8b..1698127 100644 --- a/routes/temp.js +++ b/routes/temp.js @@ -101,6 +101,11 @@ router.get('/reading', function(req, res, next) { router.post('/', function(req, res, next) { "use strict"; console.log('POST'); + var t = req.query; + + console.log('t:'); + console.log(JSON.stringify(t)); + res.writeHead(200, {"ContentType": "application/json"}); //res.send(JSON.stringify(t)); res.end(JSON.stringify({}));