Exercise Learning Lab
Exercise Tracker API Explorer
Practice creating users, adding workouts, and reading logs with realistic URLs and instant JSON feedback.
How to track and use URL endpoints
- Create a user first with
POST /api/users. - Use the returned
_idinPOST /api/users/:_id/exercises. - View progress with
GET /api/users/:_id/logsand optionalfrom,to,limit.
[ ] means optional query values.
Practice flow
Your data is saved in browser local storage for learning (until you clear browser data).
1) Create user
Pending
2) Add exercise
Pending
3) Read logs
Pending
Response
Run any form to see JSON response here.
API Simulator (Frontend Only)
How to use this simulator
- Opening
/api/...in browser directly returns 404 here, because this project is static frontend (no backend routes). - Copy URL helps learners inspect and understand endpoint structure (path params + query params).
- Copy cURL helps learners test the same request in terminal/Postman later when a real backend exists.
Current endpoint breakdown
Endpoint
Path params
Query params
POST /api/users
POST /api/users/:_id/exercises
GET /api/users/:_id/logs