Caffeinated Coder
Book an appointment
Lesson 40 · Web and backend

REST APIs

An API lets one program ask another for things. A REST API gives every thing (a resource) its own URL and uses HTTP methods on it: GET reads, POST creates, PUT replaces, PATCH changes a part and DELETE removes. Follow a small to-do API call by call, read the status codes and JSON bodies it sends back, and see why every request stands alone and which requests are safe to send twice.

12 min12 steps5 questionsIntermediate
Fig 40 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.