小编Jia*_*ang的帖子

Google Calendar API事件插入始终返回404"未找到"错误

我从这里尝试了日历插入示例:https://developers.google.com/google-apps/calendar/v3/reference/events/insert#examples 无论我使用哪个属性,我总是得到404"未找到"错误.任何人都可以对此有所了解吗?非常感谢!!!

POST https://www.googleapis.com/calendar/v3/calendars/test/events?sendNotifications=false&fields=start&key={YOUR_API_KEY}

Content-Type:  application/json
Authorization:  Bearer ya29.AHES6ZQaT3-Tj_bviwaY9Xi3gDspuBbCtEKtidnZkTXuWpI
X-JavaScript-User-Agent:  Google APIs Explorer

{
 "end": {
  "date": "2012-07-11"
 },
 "start": {
  "date": "2012-07-09"
 }
}
Run Code Online (Sandbox Code Playgroud)

回复:404未找到

{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "notFound",
    "message": "Not Found"
   }
  ],
  "code": 404,
  "message": "Not Found"
 }
}
Run Code Online (Sandbox Code Playgroud)

google-calendar-api

18
推荐指数
3
解决办法
2万
查看次数

标签 统计

google-calendar-api ×1