Tuesday 30 May 2017

How to extract domain name of a request coming from a url, using request module -Node js

there I want to extract the domain name of incoming request using request module. I tried by looking at

request.headers,
request.headers.hostname

with no luck. Any help please?



via rgk

No comments:

Post a Comment