我尝试使用Google Cloud Storage API
从angular
上传一些文件。我已经在 API& amp;上找到了浏览器密钥。凭据控制台菜单。但是,当我在网址https://www.googleapis.com/storage/v1/b/[PROJECT_ID].appspot.com/o?key=[API_KEY]
上执行GET时,我会收到此
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. The API (Cloud Storage API) is not enabled for your project. Please use the Google Developers Console to update your configuration.",
"extendedHelp": "https://console.developers.google.com"
}
],
"code": 403,
"message": "Access Not Configured. The API (Cloud Storage API) is not enabled for your project. Please use the Google Developers Console to update your configuration."
}
}
当我转到Google的控制台,在Storage
>上进行配置时Cloud Storage
> Storage settings
它在页面顶部给出了这个错误
任何人都可以帮助我实现这一目标吗?对我而言,API仅从字体端使用是很重要的,因为它是一个带角度的Apache Cordova
应用,试图将文件(媒体)上传到云端。