Is it possible to create a route that points to a method inside a microservice?, I have a microservice called MsCargosAbonos that is discovered by my eureka server, inside my microservice I have a method called pago, my zuul application url is http://localhost:8000, I can call the microservice like this:
http://localhost:8000/mscargosabonos/pago
So I want to change the url above to:
http://localhost:8000/ejecutarPago
Is it possible to do this with zuul?
Thanks in advance.
I modify my application.yml like this:
I don't know if this is the correct way to do this so if someone has a better idea please share it with me, thanks.