Recall & Review
beginner
What is an API request?
An API request is a message sent by a client to a server asking for data or to perform an action. It is like sending a letter asking for information.
Click to reveal answer
beginner
What HTTP method is commonly used to get data from an API?
The GET method is used to ask the server to send data without changing anything. It is like asking to see a menu without ordering.
Click to reveal answer
beginner
In Postman, what is the first step to make an API request?
The first step is to enter the API URL in the request field and select the HTTP method (like GET). Then you can send the request to see the response.
Click to reveal answer
beginner
What does a 200 status code mean in an API response?
A 200 status code means the request was successful and the server sent back the data you asked for.
Click to reveal answer
beginner
Why is it important to check the response body in an API request?
Checking the response body helps you see the actual data or message the server sent back. It confirms if the API works as expected.
Click to reveal answer
Which HTTP method is used to retrieve data from an API?
✗ Incorrect
GET is used to request data without changing anything on the server.
In Postman, where do you enter the API URL?
✗ Incorrect
The API URL is entered in the request URL field to specify where to send the request.
What does a 404 status code mean?
✗ Incorrect
404 means the server could not find the requested resource.
What should you check to confirm an API request worked?
✗ Incorrect
Both the status code and response body show if the API request was successful.
Which tool is used to send API requests and view responses?
✗ Incorrect
Postman is a popular tool for testing APIs by sending requests and viewing responses.
Explain the steps to make your first API request using Postman.
Think about what you type, click, and check in Postman.
You got /5 concepts.
Why is it important to check the status code and response body after sending an API request?
Consider what information each part gives you.
You got /3 concepts.