Task Manager API
Welcome to the Task Manager REST API.
Endpoints
- POST /api/register - Register a new user. Body: {"username": "...", "password": "..."}
- POST /api/login - Login and receive a JWT. Body: {"username": "...", "password": "..."}
- GET /api/profile - View your profile (requires Authorization: Bearer <token>)
- GET /api/admin/flag - Admin-only endpoint (requires admin role in JWT)