使用 Google Places API 时的 REQUEST_DENIED [英] REQUEST_DENIED when using the Google Places API
问题描述
我正在尝试使用以下网址向 Google Places API 发出请求:https://maps.googleapis.commaps/api/place/search/xml?location=37.77264,-122.409915&radius=500&types=educational%20services&name=everest%20college%20san%20francisco&sensor=false&key=YourApiKey/p>
这是我得到的回复:
<status>REQUEST_DENIED</status></PlaceSearchResponse>
知道上面的网址有什么问题吗?
重要提示:转到 api 控制台 在这里,然后到服务并检查您的Places API"是否已开启
I'm trying to make a request to the Google Places API, using the following url: https://maps.googleapis.com/maps/api/place/search/xml?location=37.77264,-122.409915&radius=500&types=educational%20services&name=everest%20college%20san%20francisco&sensor=false&key=YourApiKey
This is the response I get:
<PlaceSearchResponse>
<status>REQUEST_DENIED</status>
</PlaceSearchResponse>
Any idea what could be wrong with the above URL?
IMPORTANT: Go to the api console here, then to SERVICES and check if your 'Places API' is turned ON
这篇关于使用 Google Places API 时的 REQUEST_DENIED的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!