trying to persist the db again
This commit is contained in:
parent
0a7ac3310c
commit
ea38dd7f13
@ -101,6 +101,11 @@ router.get('/reading', function(req, res, next) {
|
|||||||
router.post('/', function(req, res, next) {
|
router.post('/', function(req, res, next) {
|
||||||
"use strict";
|
"use strict";
|
||||||
console.log('POST');
|
console.log('POST');
|
||||||
|
var t = req.query;
|
||||||
|
|
||||||
|
console.log('t:');
|
||||||
|
console.log(JSON.stringify(t));
|
||||||
|
|
||||||
res.writeHead(200, {"ContentType": "application/json"});
|
res.writeHead(200, {"ContentType": "application/json"});
|
||||||
//res.send(JSON.stringify(t));
|
//res.send(JSON.stringify(t));
|
||||||
res.end(JSON.stringify({}));
|
res.end(JSON.stringify({}));
|
||||||
|
Loading…
Reference in New Issue
Block a user