Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express get full url

var fullUrl = req.protocol + '://' + req.get('host') + req.originalUrl;
 
PREVIOUS NEXT
Tagged: #express #full #url
ADD COMMENT
Topic
Name
4+8 =