how to get request path with express req object

After having a bit of a play myself, you should use:

console.log(req.originalUrl)

Leave a Comment