API 101: API Fundamentals
Number of APIs: 12
This collection is a companion to the Qodex Classroom Program workshop API 101: API Fundamentals
See the lesson video.
(slides)
What you will learn
- What are APIs?
- Servers & Clients
- Making HTTP requests to an API
- Understanding API responses
- Submitting data to APIs
- Using query parameters to refine requests
Resources
- Library API (code)
- [Sending Requests in Qodex]
- [Receiving Responses]
- [Troubleshooting Requests]
Getting Started
- Fork this collection to your own workspace
- Complete the mission in
your turn!
Submitting your work
Once you've finished mission in your turn!
mission, follow the instructions on the submit
folder
-
Library API Reference - books GET {{baseUrl}}/books
-
Library API Reference - book GET {{baseUrl}}/books/:id
-
Library API Reference - add book POST {{baseUrl}}/books
-
Library API Reference - update book PATCH {{baseUrl}}/books/:id
-
Library API Reference - delete book DELETE {{baseUrl}}/books/:id
-
demo (complete) - checkout a book PATCH {{baseUrl}}/books/:id
-
demo (complete) - delete the new book DELETE {{baseUrl}}/books/:id
-
demo (complete) - add a book to the library POST {{baseUrl}}/books
-
demo (complete) - search books GET {{baseUrl}}/books?search=pragmatic
-
demo (complete) - get details for a single book GET {{baseUrl}}/books/:id