I want to use the post method of the following link: https://developers.trello.com/advanced-reference/checklist#post-1-checklists-idchecklist-checkitems
I understand that I would have to add an element to the specified checklist, but I do not know why I did not create the new element.
My code:
https://api.trello.com/1/checklists/[idChecklist]/checkItems?name=[NAME_NEW_ELEMENT]&key=[TRELLO_KEY]&token=[MY_TOKEN]
I don't know if name=[NAME_NEW_ELEMENT]
is correct.
How do I write it to add an element?
Thanks in advance.
No
name=...
in the URL. I've tested some POST with JavaScript and it works well. You can test this code in any browsers.