Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get express variable

app.get('/user/:id', function(req, res) {
  res.send('user' + req.params.id);    
});
 
PREVIOUS NEXT
Tagged: #express #variable
ADD COMMENT
Topic
Name
9+1 =