2017-05-31 56 views
0

我正在通过Postman测试Trello API,并且在向卡添加评论时遇到问题。如何通过API调用向Trello卡添加评论?

我提交PUT请求https://api.trello.com/1/cards/card id/actions/commentCard/comments?&key=my_key&token=my_token&text=comment,但是我收到一个错误:

invalid value for idAction

有人能指出我做错了什么?

+0

当您列出电路板的GET board/[board_id]/actions'动作时,是否有'commentCard'' idAction'? –

+0

是的,我发现它,谢谢 – Mina

回答

1

根据Trello API,您需要POST /1/cards/[card id or shortlink]/actions/comments。请参阅Trello API