trying to persist the db again

This commit is contained in:
Martin Donnelly 2015-11-17 10:54:39 +00:00
parent a3b0982f19
commit 0a7ac3310c

View File

@ -101,6 +101,9 @@ router.get('/reading', function(req, res, next) {
router.post('/', function(req, res, next) {
"use strict";
console.log('POST');
res.writeHead(200, {"ContentType": "application/json"});
//res.send(JSON.stringify(t));
res.end(JSON.stringify({}));
});