json - 尝试为我的 Discord 服务器制作 IFTTT webhook
问题描述
因此,我正在尝试将 Google 日历链接到 Discord webhook 以获取事件通知和其他内容。我在用着
如果任何活动开始(谷歌日历)
然后发出网络请求(Discord webhook URL)
据我所知,日历部分很好,因为它确实触发了小程序,我可以看到小程序活动日志中显示的事件的所有正确信息。
The code I'm using is this:
{
"embeds": [
{
"title": "<<< {{Title}}>>>",
"url": "<<<{{EventUrl}}>>>",
"description": "Event alert message",
"fields": [
{
"name": "Start Time",
"value": "<<<{{Starts}}>>>",
"inline": "true"
},
{
"name": "End Time",
"value": "<<<{{Ends}}>>>",
"inline": "True"
},
{
"name": "Location",
"value": "<<<{{Where}}>>>"
}
]
}
]
}
日志中的错误信息是:
操作失败消息
您的服务器返回 400。无法向https://discord.com/api/webhooks/mywebhookurl发出 Web 请求
解决方案
推荐阅读
- android - 如何同时从两个实时数据中获取价值
- r - 与 rJava 和 xlsx 并行使用
- c++ - 如何从 wxBoxSizer(wxVERTICAL) 中正确删除所有元素(包括 wxsizers 和 wxwindows)
- mongodb - Kotlin - Mongo DB - aggerate 查询未按预期返回总和
- javascript - TypeError:data.forEach 不是从 API 获取数据时做出反应的函数
- c# - 如何在实体框架中获取 oracle TimeSpan 列
- java - 在 Spring Boot RouterFunction 中读取 JWT 令牌
- wix - WiX 不检测 VC++ 可再发行组件
- laravel - 将文件上传到 apache 服务器上的虚拟机
- angular - Angular-routing:html-template 中的路由链接无法与路由模块中定义的路由匹配