express js use params code example
Example: express route parameters
app.get('/users/:userId/books/:bookId', function (req, res) {
res.send(req.params)
})
app.get('/users/:userId/books/:bookId', function (req, res) {
res.send(req.params)
})