In kong api gateway, how to make custom url?

一世执手 提交于 2020-05-17 07:12:08

问题


So I am creating application using microservice architecture. I have few microservices and I want to configure all in kong with custom routes/url.

For example: I have user service and location service and I want those routes in kong looks like this:

GET http://localhost:8001/service/user/list --> http://user-service-url.com/user_list

GET http://localhost:8001/service/location/122332--> http://location-service-url.com/get/122332

I have searched all over the internet and couldn't find anything. Is this possible to achieve in kong ?

Thanks

来源:https://stackoverflow.com/questions/61687855/in-kong-api-gateway-how-to-make-custom-url

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!