0

我想通知 Slack 频道说在 GitHub 上进行了以下更改。例如,如果我在 GitHub 上为一个 repo 加注星标,它应该通知我的 Slack 频道有人为我的 repo 加星标。

curl请求(使用终端工作):

curl -X POST -H 'Content-type: application/json' --data '{"text":"Hello, World!"}' https://hooks.slack.com/services/T02BWSEQX6U/B02CAKKQE9W/DIyYRVh6WkDrjyq8t$$$$$$$

有效负载 URL 给出 400 错误代码。

400错误代码

我相信有效载荷 URL 是错误的。

4

0 回答 0