Delete a task based on ID supplied in path
ID of task to delete
curl -L \ --request DELETE \ --url '/task/{id}'
No Content
Return a task based on its ID
ID of task to get
curl -L \ --url '/task/{id}'
{ "name": "text", "tag": "text", "id": 1 }
Create a new task
curl -L \ --request POST \ --url '/task' \ --header 'Content-Type: application/json' \ --data '{ "name": "text", "tag": "text" }'