url reqex code example Example: req.url var fullUrl = req.protocol + '://' + req.get('host') + req.originalUrl;