cURL
curl --request POST \ --url https://api.example.com/task \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "tag": "<string>" } '
{ "name": "<string>", "id": 123, "tag": "<string>" }
Create a new task
Task to add to the list
Success