1

anybody know if I do something wrong or if something is not working at the moment?

  • I use MessageCard Playground and want to send data to a Teams-Channel.
  • I did setup the connector and got a webhook url. enter image description here
  • Now I want to send some samples to the channel (valid json)

Getting this error: enter image description here

Any idea what I do wrong?

Update

Sample 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" }
      ]
    }
  ]
}
4

1 回答 1

3

目前 MessageCard Playground 中似乎存在一个错误,阻止它正确发布到 webhook 端点。

我建议尝试 Postman 发出 HTTP 请求。您可以简单地从 Playground 复制并粘贴 JSON。有关如何设置的详细信息,请参阅通过 Office 365 连接器发送可操作的消息。

于 2017-10-13T21:41:09.150 回答