Answers for "Get values via the url using express router"

4

Get values via the url using express router

app.get('/users/:userId/books/:bookId', function (req, res) {
  res.send(req.params)
})
Posted by: Guest on July-05-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language