Endpoint:
http://localhost:8080/api/tasks/
Example JSON:
{ "title": "Database test taak2", "completed": false }
Endpoint
http://localhost:8080/api/tasks/1
It deletes the row
Endpoint
http://localhost:8080/api/tasks/1
Example JSON:
{ "title": "Database test taak2", "completed": true }