Http 附近地点搜索请求

Http 附近地点搜索请求,http,google-api,google-places-api,Http,Google Api,Google Places Api,我可以通过直接HTTP请求使用google places api查找附近的位置吗?我正在查阅他们的文件 我创建了一个api密钥,但当我尝试从浏览器请求HTTP时,如下图所示: 我得到了这个信息: <PlaceSearchResponse> <status>REQUEST_DENIED</status> <error_message> This API project is not authorized to use this API. Pleas

我可以通过直接HTTP请求使用google places api查找附近的位置吗?我正在查阅他们的文件 我创建了一个api密钥,但当我尝试从浏览器请求HTTP时,如下图所示:

我得到了这个信息:

<PlaceSearchResponse>
<status>REQUEST_DENIED</status>
<error_message>
This API project is not authorized to use this API. Please ensure this API is activated in the Google Developers Console: https://console.developers.google.com/apis/api/places_backend?project=_
</error_message>
</PlaceSearchResponse>

请求被拒绝
此API项目无权使用此API。请确保在Google开发者控制台中激活此API:https://console.developers.google.com/apis/api/places_backend?project=_

您的项目中没有启用API的项目。接下来,选择您的项目并单击“启用”。

步骤1:转到

步骤2:选择项目(左上角)

步骤3:转到库并单击Google Places API Web服务

步骤4:然后单击启用按钮