THE IDEA
Start with a useful interaction.
Status codes and query parameters are easier to understand when you can change an input and inspect the result. This lab turns a small task API into a guided, repeatable learning example.
A TypeScript function simulates GET responses from four local sample tasks. The interface shows the requested path, status, and JSON together. A separate Django REST Framework sketch explains one way a real list and detail API could begin.
API concepts · input validation · a browser simulation