2017-05-31 123 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