Serverless Developer Guide
Let’s start with a high level work ﬂow for an API request, pictured in the following diagram. 
Imagine a UI component that requests User data from the server to show a table of users:
• API HTTP request for a user is received and authentication is checked
• The call matched the API GET method and users resource, which is integrated with a get-users 
Lambda function
• Permissions were veriﬁed before invoking the AWS resource
• Lambda function sends queries to retrieve items from a data store
• Data is wrapped in an HTTP response to be returned to the client
Create an API
When you create an API Gateway REST API, there are two essential components:
• method – HTTP methods (GET, POST, PUT, PATCH, OPTIONS and DELETE) An HTTP method is 
an action to be taken on a resource. API Gateway also has an ANY method, that matches any 
method type.
• resource – A resource is related to your business logic, for example users, orders, or messages.
Resources can also have the following:
Fundamentals 63