Todo List Service is a GO API service which serves Todo data.
- Add a Todo task
curl -X POST -H "Content-Type: application/json" -d '{
"task": "Fix bug 130320",
"endDate": "2020-03-20",
"labels": "Dev",
"comm": "In progress"
"uid":1,
}' http://127.0.0.1:8080/api/v1/todo/
- Update a Todo task
curl -X PUT -H "Content-Type: application/json" -d ~~'{~~
"task": "Fix bug 130320",
"endDate": "2020-03-20",
"labels": "QA",
"comments": "Verification"
}' http://127.0.0.1:8080/todo/{TID}
- Read all Todo tasks
curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/todo/
- Read a specific Todo task
curl -X GET -H "Content-Type: application/json" http://127.0.0.1:8080/todo/{TID}
- Delete a specific Todo task
curl -X DELETE -H "Content-Type: application/json" http://127.0.0.1:8080/todo/{TID}