DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
express route parameters
app.get('/users/:userId/books/:bookId', function (req, res) { res.send(req.params) })
Source by expressjs.com #
PREVIOUS
NEXT
Tagged:
#express
#route
#parameters
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit