SyntaxFix
Write A Post
Hire A Developer
Questions
app.get('/user/:id', function(req, res) { res.send('user' + req.params.id); });
You can use this or you can try body-parser for parsing special element from the request parameters.