What is the difference between API proxy and API Gateway?
API proxy is a tool to handle REST API request/response through a HTTP server.
It's just a tool, usually it works in a way of REST API gateway.
So if you don't want to use a different server than your application server, you don't need the proxy. API Gateway will do that for you.
What is API Gateway in practice? APIGateway has 2 roles : Proxy API requests (REST or GraphQL) to another backend servers. Handle HTTP method response to the caller. How it works
API Gateway work with HTTP methods and return 200 OK when the request is ok. The caller make HTTP POST / HTTP PUT request to a path. API Gateway call the first implementation to build a full response. From an user point of view, what would be the difference between both solutions
You can test the difference with curl command : For a REST API, you just have to send a request to a certain path like. And for a graphql API, the request is much more complex. Request body : I found this post that could explain in more details.
What is the difference between API Gateway and reverse proxy?
API Gateway.
API Gateway is a service that gives you a way to implement a REST API. The service provides a number of features, such as the ability to secure your API (by using either API keys or OAuth), expose it via a domain (via CNAMEs), and to allow for custom integration with other services like S3.
Reverse Proxy. A reverse proxy is a service that lets you route requests to one or more back-end servers. This service will often provide you with the ability to secure your back-end servers, handle authentication and authorization, and expose them via a domain name.
They are very different, and are not mutually exclusive. For example, I use Cloudfront for a CDN and Amazon API Gateway for my API.
I think the way you're asking this question suggests you're trying to use them for the same purpose. However, you can use them for different purposes. For example, I don't have a reverse proxy for my API, and I use API Gateway to secure it.
Related Answers
Whats the best VPN for privacy Reddit recommends?
I will not spend time or money on a VPN. I simply do not need a VPN....
What are the two types of proxies?
You can use a reverse proxy for multiple reasons, but mostly it is us...
Whats the best VPN for privacy Reddit recommends?
I'm looking for a good VPN. I use the default settings (PPTP), and I'm...