var http = require('http');

http.createServer(function (req, res) {
  res.end(req.url);
}).listen(8080);

              
http://localhost:8080/?year=2017&month=July