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

  1. Fork this collection to your own workspace
  2. 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

  1. Library API Reference - books GET {{baseUrl}}/books

  2. Library API Reference - book GET {{baseUrl}}/books/:id

  3. Library API Reference - add book POST {{baseUrl}}/books

  4. Library API Reference - update book PATCH {{baseUrl}}/books/:id

  5. Library API Reference - delete book DELETE {{baseUrl}}/books/:id

  6. demo (complete) - checkout a book PATCH {{baseUrl}}/books/:id

  7. demo (complete) - delete the new book DELETE {{baseUrl}}/books/:id

  8. demo (complete) - add a book to the library POST {{baseUrl}}/books

  9. demo (complete) - search books GET {{baseUrl}}/books?search=pragmatic

  10. demo (complete) - get details for a single book GET {{baseUrl}}/books/:id