26 lines
533 B
JavaScript
26 lines
533 B
JavaScript
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;
|