5

What is the difference between AWS API Gateway REST API vs HTTP API? Why would you use one over the other. What different functionalities does each support?

The documentation says:

API Gateway REST API A collection of HTTP resources and methods that are integrated with backend HTTP endpoints, Lambda functions, or other AWS services.........Each API resource can expose one or more API methods that have unique HTTP verbs supported by API Gateway.

API Gateway HTTP API A collection of routes and methods that are integrated with backend HTTP endpoints or Lambda functions....Each route can expose one or more API methods that have unique HTTP verbs supported by API Gateway.

However I cannot make much sense out of this.

1 Answer 1

4

According to their documentation from 2019, they're stating the following:

HTTP APIs are up to 71% cheaper compared to REST APIs, but offer only API proxy functionality.

So it seems you can't use the HTTP api's for anything other than proxying your own backend API.

Additionally, check this comprehensive documentation on when to use one over the other.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.