API lab
Request console
A Postman-style request builder built into the page: send requests, inspect responses and copy them as cURL.
Practice tasks
- POST /api/auth/login, copy the token and call GET /api/auth/profile with it.
- Send invalid JSON and assert the 400 error shape.
- Call /api/rate-limit-demo six times quickly and read Retry-After.
- Compare PUT vs PATCH on /api/users/1.
- Use /api/status/418 and /api/delay/2000 to test client timeouts.