Can we get the variables in the query string in Node.js just like we get them in $_GET in PHP?
$_GET
I know that in Node.js we can get the URL in the request.
For Express.js you want to do req.params:
req.params
app.get('/user/:id', function(req, res) { res.send('user' + req.params.id); });