Skip to content

Commit

Permalink
Add status
Browse files Browse the repository at this point in the history
  • Loading branch information
grant committed Feb 22, 2015
1 parent 806791c commit 0f0ba05
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions node/routes/index.js
Expand Up @@ -54,6 +54,19 @@ router.get('/poll', function (req, res) {
}
});

router.get('/status', function(req, res) {
res.send({
status: 'good GET',
body: req.body
});
});
router.post('/status', function(req, res) {
res.send({
status: 'good POST',
body: req.body
});
});

// Send the image rects
var rects;
router.post('/rects', function (req, res) {
Expand Down

0 comments on commit 0f0ba05

Please sign in to comment.