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.
//get query¶ms in express //etc. example.com/user/000000?sex=female app.get('/user/:id', function(req, res) { const query = req.query;// query = {sex:"female"} const params = req.params; //params = {id:"000000"} })