Google Calendar API-GET请求返回“找不到”

时间:2019-07-31 05:31:16

标签: google-calendar-api

我一直在尝试执行GET请求以获取我的Google日历中的事件。我正在使用以下格式:

https://www.googleapis.com/calendar/v3/calendars/{CALENDAR_ID}/events?key={YOUR_API_KEY}

我感到困惑的是:它可以在Google API Explorer上成功运行,但是在邮递员上却出现404错误:

{
    "error": {
        "errors": [
            {
                "domain": "global",
                "reason": "notFound",
                "message": "Not Found"
            }
        ],
        "code": 404,
        "message": "Not Found"
    }
}

我尝试在堆栈上搜索解决方案,但似乎找不到可行的解决方案。有指针吗?

编辑::我确实为该项目启用了Google Calendar API。

0 个答案:

没有答案
相关问题