Hi guys, in this lesson we will learn our API paths to reach our services. In previous lessons, we said that we can reach our services or Zoo gateway. But ha, let's understand the details of our gateway path. First of all, we should know these things. Our main gate to joy services will be Zoo gateway. So our hostname will be localhost, like describe in Zoo gateway application properties.
And our main port number will be 8765 like described in Zoo gateway application properties with server port covert So we can reach to gateway with localhost 8765. If the gateway How can we reach to microservices also we can find it from Zoo gateway application properties. To reach micro services, we have a prefix, our prefix is a p r. then to reach a specific micro service, we will use micro service route from Zoo gateway application properties. For example, we have a user service to reach user service, we will use localhost 8765 API users to reach kusa risk, we will use localhost 8765 API course. Okay, after reaching to microservices, how can we reach this specific REST API in our service? We can reach this specific REST API with using Gately plus REST API path inserts.
For example, we want to reach the user service registration REST API. To do it, we will use this path localhost 8765. API uses service registration. That's all about gateway paths. Thank you.