How would I do this in express: document.location.href.split('/');
I have already tried using the res function too. I am not sure how to fix this.
Asked
Active
Viewed 137 times
0

Asher Myers
- 61
- 4
-
https://stackoverflow.com/questions/12525928/how-to-get-request-path-with-express-req-object – Abrar Hossain Dec 03 '20 at 15:36
-
1You need to clarify what you are trying to do. And, what error did you get? – Lin Du Dec 30 '20 at 07:33