How to forward requests to a different url in axum?

The functionality is similar to nignx reverse proxy, or vite proxy. The closest thing I got was axum-proxy example where it also does tunneling. I don't want this tunneling.
I just want a fetaure like, when client hits a particular endpoint to server, the server will forward the request to a different server, gets the response and forward it back to the client as response. For all methods, it should do the same thing.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.