我正在尝试使用ActionCard为 Microsoft Teams制作可操作的消息。
我想通过HttpPost
. 当我点击 url 时,我收到了错误消息:
Failed to send
There was a problem submitting your changes. Try again in a minute.
我遵循了 Microsoft 的文档,根据文档,我的代码是正确的。我很困惑为什么会出现这个错误。
这是我正在使用的行动卡:
{
"@type": "ActionCard",
"name": "Selector",
"inputs": [{
"@type": "MultichoiceInput",
"id": "list",
"title": "Select a status",
"isMultiSelect": "false",
"style": "expanded",
"choices": [{
"display": "In Progress",
"value": "1"
},
{
"display": "Active",
"value": "2"
},
{
"display": "Closed",
"value": "3"
}
]
}],
"actions": [{
"@type": "HttpPOST",
"name": "Save",
"body": "value={{list.value}}",
"target": "https://www.google.com"
}]
}