Creating task using Makerlog API
Hi,
I've obtained an access token with "tasks:write" scope. Create a task doesn't work though. Instead of getting a "201:Created" I get a "200:OK", and the result is a list of recent tasks instead of my new task.
Here's what I do:
curl --request POST \ --url https://api.getmakerlog.com/tasks \ --header 'authorization: Bearer my-access-token \ --header 'content-type: application/json' \ --data '{ "content": "#tag test 123", "done": false, "in_progress": true }'
What am I doing wrong?
Posting example again this time using markdown:
curl --request POST \
--url https://api.getmakerlog.com/tasks \
--header 'authorization: Bearer <my-access-token>' \
--header 'content-type: application/json' \
--data '{
"content": "#tag test 123",
"done": false,
"in_progress": true
}'
Geez, it works if I append /
to /tasks/
😜- probably documented but utterly confusing.
Please sign in to leave a comment.