【发布时间】:2015-12-12 22:05:30
【问题描述】:
我正在制作使用 Google 翻译 API 的网站。 我已设置 浏览器 API 密钥 但问题是浏览器 API 密钥只有在我留空字段 Accept requests from these HTTP referrers (web sites) 时才有效。
如果我放在那里*.mydomain.com/*
我收到错误:
在您的 API 密钥上配置了 per-IP 或 per-Referer 限制,并且请求与这些限制不匹配。如果应允许来自此 IP 或引用者的请求,请使用 Google Developers Console 更新您的 API 密钥配置。
我做错了什么?
【问题讨论】: