For adding the tasks, POST the request to the following url
http://localhost:7700/task/add
Body of the task can include description and completed attributes, For example,
{
"description": "Hello this is a test task",
"completed": false
}
For marking a task as complete, PUT the request to the following url
http://localhost:7700/task/complete/<id>
Where is the id of task that is completed.
For deleting a task from the list, DELETE the request to the following url
http://localhost:7700/task/delete/<id>
Where is the id of task that should be deleted.
To get all the tasks that are not yet completed, GET the request to the following url
http://localhost:7700/task