I have an API that gets data in the URL from the referer parameter. In the NodeJS server, I used this code console.log(req.headers.referer); to output the value
console.log(req.headers.referer);