Recall & Review
beginner
What is a REST API?
A REST API is a way for different software to talk to each other over the internet using simple commands like GET, POST, PUT, and DELETE.
Click to reveal answer
beginner
What AWS service is commonly used to create REST APIs?
AWS API Gateway is used to create, publish, and manage REST APIs easily without managing servers.
Click to reveal answer
beginner
What is an endpoint in a REST API?
An endpoint is a URL where the API listens for requests and sends back responses.
Click to reveal answer
beginner
Why do we use HTTP methods like GET and POST in REST APIs?
HTTP methods tell the API what action to perform: GET to read data, POST to create data, PUT to update, and DELETE to remove data.
Click to reveal answer
intermediate
How does AWS Lambda work with API Gateway in REST API creation?
API Gateway receives requests and triggers AWS Lambda functions to run code that processes the request and returns a response.
Click to reveal answer
Which AWS service helps you create a REST API without managing servers?
✗ Incorrect
AWS API Gateway is designed to create and manage REST APIs without needing to manage servers.
What HTTP method is used to retrieve data from a REST API?
✗ Incorrect
GET is used to request and retrieve data from a REST API.
In AWS, which service runs your backend code when triggered by API Gateway?
✗ Incorrect
AWS Lambda runs your code in response to API Gateway requests without managing servers.
What is an API endpoint?
✗ Incorrect
An endpoint is the URL where the API receives requests and sends responses.
Which HTTP method should you use to delete data via a REST API?
✗ Incorrect
DELETE is the HTTP method used to remove data through a REST API.
Explain how AWS API Gateway and AWS Lambda work together to create a REST API.
Think about the flow from client request to response.
You got /5 concepts.
Describe the main HTTP methods used in REST APIs and their purposes.
Focus on what each method does with data.
You got /4 concepts.