Try logging out the headers using:
app.get("/api/whoami", (req, res) => {
console.log(req.headers);
})
This will allow you to see all the information in the header when you trigger the request.
Try logging out the headers using:
app.get("/api/whoami", (req, res) => {
console.log(req.headers);
})
This will allow you to see all the information in the header when you trigger the request.