试图使用reminders.app通过卷曲发布提醒。
获取以下错误
"response_metadata":{"warnings":"missing_charset"}} {“确定”:假,“错误”:“internal_error”,“警告”:“missing_charset”,
curl -X POST -H 'Authorization: Bearer secretsxxxxxxxxxxxxx' -H 'Content-type: application/json' --data \
'{
"ok": true,
"reminder": {
"text": "eat a banana",
"recurring": false,
"time": 1602288000
}
}' https://slack.com/api/reminders.add发布于 2020-02-10 22:56:32
您需要将下面的行https://slack.com/api/reminders.add更改为https://slack.com/api/reminders.add?。在结尾处包括问号。
所以你的代码应该是:
curl -X POST -H 'Authorization: Bearer secretsxxxxxxxxxxxxx' \
-H "Content-type: application/json" \
--data '{"text": "I hope you eat your banana","time":1581447960}' \
https://slack.com/api/reminders.addhttps://stackoverflow.com/questions/60159004
复制相似问题