This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
node-task/routes/user.js

26 lines
533 B
JavaScript
Raw Normal View History

2014-09-23 14:54:05 -04:00
var express = require('express');
var router = express.Router();
/* GET users listing. */
router.get('/list', function(req, res) {
res.send('respond with a resource');
});
router.get('/:id', function(req, res) {
res.send('respond with a resource');
});
router.post('/', function(req, res) {
res.send('respond with a resource');
});
router.put('/:id', function(req, res) {
res.send('respond with a resource');
});
router.delete('/:id', function(req, res) {
res.send('respond with a resource');
});
module.exports = router;