我从这里尝试了日历插入示例: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"
}
}
响应:404 未找到
{
"error": {
"errors": [
{
"domain": "global",
"reason": "notFound",
"message": "Not Found"
}
],
"code": 404,
"message": "Not Found"
}
}