How API Gateway works
API Gateway supports designing APIs in two different protocols—Representational State Transfer (REST) and WebSocket. The REST endpoints exposed by the API Gateway service adhere to standard HTTP protocol and methods and allow for the creation of completely stateless client-server communication to exchange information between application components, microservices, and different types of integrated devices. The WebSocket endpoints, on the other hand, allow for the creation of stateful, full-duplex APIs that also allow the routing of any incoming messages based on the message content.
For example, any application that performs transactions in an asynchronous manner can make great use of the RESTful API. REST is fast and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access