Reputation: 363
I'm using node with express for my server. Is it possible to read full origin URL path of requests coming in.
Client is making a GET request from a page www.client-domain.com/animals to www.server-domain.com/dog
I want to log /animals on the server
Upvotes: 0
Views: 604
Reputation: 17532
As per its definition, the origin does not contain the path. Are you looking for the referrer? But this is not included in XMLHttpRequests and may also be suppressed in navigation requests.
Upvotes: 1