创建一个watcher,配置webhook

"my_webhook": {
      "webhook": {
        "scheme": "https",
        "host": "oapi.dingtalk.com",
        "port": 443,
        "method": "post",
        "path": "/robot/send",
        "params": {
          "access_token": "xxxx"
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "body": "{\"msgtype\": \"text\",\"text\": {\"content\": \"我就是我, 是不一样的烟火\"}, \"errmsg\": \"aa\"}"
      }
    }
posted on 2021-10-14 19:05  TracyMagic  阅读(556)  评论(0编辑  收藏  举报