如何通过API调用向Trello卡添加注释?

2024-05-23 15:13:19 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在通过Postman测试trelloapi,在向卡片添加注释时遇到问题。在

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

invalid value for idAction

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


Tags: keyhttpscomtokenactionsapiidmy
2条回答

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

你试着发帖给

https://api.trello.com/1/cards/cardID/actions/comments?text=yourComment&key=apiKey&token=trelloToken

其中必须将变量cardIyourCommentapiKey和{}更改为变量

相关问题 更多 >