无法尝试 Microsoft Teams 站点的 webhook
Fail to try webhook for Microsoft Teams site
有人知道我是不是做错了什么或者现在有什么不对吗?
- 我使用 MessageCard Playground 并想将数据发送到 Teams 频道。
- 我确实设置了连接器并获得了一个 webhook url。
- 现在我想向频道发送一些样本(有效json)
出现此错误:
知道我哪里做错了吗?
更新
样本JSON
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"summary": "Issue 4711",
"themeColor": "0078D7",
"title": "Issue opened: \"TEST Message for webhook\"",
"sections": [
{
"activityTitle": "Yves Rausch",
"activitySubtitle": "10/12/2017, 22:34",
"facts": [
{
"name": "Title:",
"value": "TinyMCE 4 implementieren"
},
{
"name": "Issue #:",
"value": "6417"
}
],
"text": "There is a push webhook info and leads me to the workflow."
}
],
"potentialAction": [
{
"@type": "OpenUri",
"name": "View in process",
"targets": [
{ "os": "default", "uri": "https://intranet.tqsoft.net/ror/workflowact/6417" }
]
}
]
}
目前 MessageCard Playground 中似乎存在错误,导致它无法正确发布到 webhook 端点。
我建议尝试使用 Postman 来发出 HTTP 请求。您可以简单地从 playground 复制并粘贴 JSON。有关如何设置的详细信息,请参阅 Sending actionable messages via Office 365 Connectors。
有人知道我是不是做错了什么或者现在有什么不对吗?
- 我使用 MessageCard Playground 并想将数据发送到 Teams 频道。
- 我确实设置了连接器并获得了一个 webhook url。
- 现在我想向频道发送一些样本(有效json)
出现此错误:
知道我哪里做错了吗?
更新
样本JSON
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"summary": "Issue 4711",
"themeColor": "0078D7",
"title": "Issue opened: \"TEST Message for webhook\"",
"sections": [
{
"activityTitle": "Yves Rausch",
"activitySubtitle": "10/12/2017, 22:34",
"facts": [
{
"name": "Title:",
"value": "TinyMCE 4 implementieren"
},
{
"name": "Issue #:",
"value": "6417"
}
],
"text": "There is a push webhook info and leads me to the workflow."
}
],
"potentialAction": [
{
"@type": "OpenUri",
"name": "View in process",
"targets": [
{ "os": "default", "uri": "https://intranet.tqsoft.net/ror/workflowact/6417" }
]
}
]
}
目前 MessageCard Playground 中似乎存在错误,导致它无法正确发布到 webhook 端点。
我建议尝试使用 Postman 来发出 HTTP 请求。您可以简单地从 playground 复制并粘贴 JSON。有关如何设置的详细信息,请参阅 Sending actionable messages via Office 365 Connectors。