Node.js Get the Curent URL and Params

In your server code use the following to display the current URL and params. // API / GET exports.get = function( req, res ) {      var fullUrl = req.protocol + ‘://’ + req.get(’host’) + req.originalUrl;      res.send(fullUrl);      return true; } Or you can display the headers of the request like …