Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express get request origin

app.use((req, res, next) => {
  const host = req.get('host');
  const origin = req.get('origin');
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #express #request #origin
ADD COMMENT
Topic
Name
5+5 =