Php 这里是“地图”;这些凭据不授权访问”;
我正在尝试从here.com API获取数据,它不断返回Php 这里是“地图”;这些凭据不授权访问”;,php,laravel,authentication,here-api,Php,Laravel,Authentication,Here Api,我正在尝试从here.com API获取数据,它不断返回401error {"error":"Unauthorized","error_description":"These credentials do not authorize access"} 代码 有什么想法吗?与API键一起使用的正确API端点不是https://weather.api.here.com但是https://weather.ls.here
401
error
{"error":"Unauthorized","error_description":"These credentials do not authorize access"}
代码
有什么想法吗?与API键一起使用的正确API端点不是
https://weather.api.here.com
但是https://weather.ls.hereapi.com/
例如:
https://weather.ls.hereapi.com/weather/1.0/report.json?apiKey=YOUR-API-KEY&product=alerts&name=Paris
与API键一起使用的正确API端点不是
https://weather.api.here.com
但是https://weather.ls.hereapi.com/
例如:
https://weather.ls.hereapi.com/weather/1.0/report.json?apiKey=YOUR-API-KEY&product=alerts&name=Paris
请尝试此url
$url=”https://weather.api.here.com/weather/1.0/report.json?product=forecast_hourly&latitude=$lat&longitude=$lng&oneobservation=true&language=in&app\u id=$app\u id&app\u code=$app\u code”
@KamleshPaul相同错误然后转到weather
api dashboard并启用该服务是否有单独的天气仪表板?您从哪里获得该api密钥?请尝试此url$url=”https://weather.api.here.com/weather/1.0/report.json?product=forecast_hourly&latitude=$lat&longitude=$lng&oneobservation=true&language=in&app\u id=$app\u id&app\u code=$app\u code”
@KamleshPaul相同错误然后转到weather
api dashboard并启用该服务是否有单独的天气仪表板?您从哪里获得该api密钥?