使用具有可选参数"new_forward_geocoder"的新地理编码服务进行"Unable to authenticate the request"



我们可以在启动前尝试新的地理编码服务,添加可选参数,new_forward_geocoder = true,在地理编码API请求中。

当我尝试使用URL https://maps.googleapis.com/maps/maps/api/geocode/geocode/xml?new_geocoder = true = true&addres = address = 1600 amphithithithatre pparkway, mountparkway, mountparkway, mountparkway, mountain munkey mekeykekeyy e时,

尝试可选参数。= api_key,然后我得到结果

但是当我尝试使用URL时我有错误 -

无法验证请求。提供的"签名"对于所提供的客户ID无效,或提供的"客户端"无效。使用URL检查签名:/地图/api/geocode/xml?new_forward_geocoder = true& address = 1600 圆形剧场 Parkway, Mountain Mountain View, CA& client = client如果这与您要求的URL不匹配,请确保您的请求正确编码正确。了解更多信息:https://developers.google.com/maps/documentation/business/webservices/auth

我发现了我的错误。我无法将任何参数附加到现有请求中。在附加新参数

之后,我必须再次计算签名

我必须在签名计算之前在URL中添加参数。

最新更新