There is no doubt that the API gateway is beneficial for microservices. With its use, you can do the following:
Invoke services through the API gateway
Reduce round trips between the client and the application
The client has the ability to access different APIs in one place, as segregated by the gateway
It provides flexibility to clients in such a manner that they are able to interact with different services as and when they need to. This way, there is no need to expose complete/all services at all. API gateway is a component of complete API management. In our solution, we will use Azure API management, and we will explain it further in Chapter 3, Integration Techniques and Microservices.