Jan 20, 2014
How to read GET query string in NodeJs program
So how can we read query string as we get in $_GET in PHP?
# If your url is /path/filename?anything=123&name=john
var query = require('url').parse(req.url,true).query;
var anything=query.anything;
var name=query.name;
more about it on this StackOverflow thread.Check full NodeJs course here. Learning NodeJs
By : Motyar+ @motyar