Logo InterviewVault

Welcome back, Sujit Kumar Mishra

SKM

Revision Mode

Document technical questions and best-practice answers.

Cancel

What is the use of API gateways? 

API gateways act like a single entry point for all client requests to backend services. They help manage, secure, and route requests efficiently. In simple words, an API gateway is like a smart receptionist that receives all calls (requests), checks them, and then connects them to the right department (service) inside a company. This makes things faster, safer, and easier to manage.


Example:

When you use a mobile banking app, your phone sends requests to check your balance, view transactions, or transfer money. Instead of sending these requests directly to different services, the app sends them to the API gateway. The gateway then forwards each request to the correct service, makes sure the request is secure, and sends the response back to your app. This keeps everything organized and safe.

Ready for commit