curl -i -H "Authorization: Bearer <malformed token>" http://localhost:8089/api/taskscurl -i -H "Authorization: Bearer <correct token>" http://localhost:8089/api/taskscurl -i -H "Authorization: Bearer <malformed token>" http://localhost:8089/api/tasksHTTP/1.1 401 Unauthorized
Content-Type: text/plain; charset=utf-8
X-Content-Type-Options: nosniff
Date: Thu, 17 Apr 2025 14:17:00 GMT
Content-Length: 13
unauthorizedcurl -i -H "Authorization: Bearer <correct token>" http://localhost:8089/api/tasksHTTP/1.1 200 OK
Content-Type: application/json
Date: Thu, 17 Apr 2025 14:17:03 GMT
Content-Length: 62
{"tasks":["My new task","create a new task on /api/add-task"]}%