I've two containers running in docker.
My API (and standard part) is /abc/{xyz}/xmc, where xyz is, of course, dynamic as this is provided by the user while sending a "POST" request.
This API is running on both port 8080 and 3000 like:
http://localhost:3000/abc/nv8vhvv/xmc
http://localhost:8080/abc/chjbc8c/xmc
If a user sends a "POST" request to http://localhost:8080/abc/chjbc8c/xmc, I want to (internally in the golang file) redirect it to http://localhost:3000/abc/chjbc8c/xmc. How can I do this in golang?