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.
You can use with express ^4.15.4:
var express = require('express'), router = express.Router(); router.get('/', function (req, res, next) { console.log(req.query); });
Hope this helps.