我正在使用这种方法在服务器端通过 PHP 缩短长 URL。
但它返回给我这个错误:
"domain": "usageLimits", "reason": "ipRefererBlocked", "message": "The referrer null does not match does not match the referrer restrictions configured on your API key. Please use the API Console to update your key restrictions."
但我已经将 Referrer 设置为 localhost & 127.0.0.1
我可以知道我没有配置的其他设置或 Google Shortener 在http://localhost上不起作用吗?