express post multiple parts of state code example
Example 1: express route parameters
app.get('/users/:userId/books/:bookId', function (req, res) {
res.send(req.params)
})
Example 2: routes in node js
var birds = require('./birds')
// ...
app.use('/birds', birds)