how to get params in express rou 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)
})