take a param in node.js code example
Example: node.js parameters
app.get('/index/profile/:id', function (req, res) {
res.end('profile with id' + req.params.id)
});
app.get('/index/profile/:id', function (req, res) {
res.end('profile with id' + req.params.id)
});