-
Notifications
You must be signed in to change notification settings - Fork 0
API.md
SE. kelvin edited this page Sep 12, 2025
·
1 revision
This page documents the API endpoints available.
POST /api/login
- Request:
{ "email": "user@test.com", "password": "secret" }
- Response:
{ "token": "abc123" }
GET /api/user/:id
- Returns user details
GET /api/tasks
→ List tasks
POST /api/tasks
→ Create a task
DELETE /api/tasks/:id
→ Delete a task