Hey everyone!
So I’m working on this node express proxy and need to *modify the request path* before it hits the target server. Basically, I’m trying to figure out how to node express proxy change request path dynamically.
Like, if the request comes in as `/api/v1/users`, I wanna change it to `/v2/users` or something like that. I’ve been googling around but can’t seem to find a clean way to do it.
Anyone got tips or code snippets for this? Maybe using `http-proxy-middleware` or something else?
Thanks in advance! 🙏
(Also, sorry if this is a noob question lol)
So I’m working on this node express proxy and need to *modify the request path* before it hits the target server. Basically, I’m trying to figure out how to node express proxy change request path dynamically.
Like, if the request comes in as `/api/v1/users`, I wanna change it to `/v2/users` or something like that. I’ve been googling around but can’t seem to find a clean way to do it.
Anyone got tips or code snippets for this? Maybe using `http-proxy-middleware` or something else?
Thanks in advance! 🙏
(Also, sorry if this is a noob question lol)
