我在用一个免费增值账号测试路由API。我想知道25万免费交易烧完后api返回的http状态码和错误信息是什么?
我在文档中没有找到 https:/developer.here.comdocumentationroutingdev_guidetopicshttp-status-codes.html。.
响应将如下:错误代码将是403,最好保持检查,如
if (status > 299) {
InputStream is = con.getErrorStream();
BufferedReader rd = new BufferedReader(new InputStreamReader(is));
rd.close();
}
{"error": "Forbidden", "error_description": "These credentials do not authorise access. 请联系您的客户代表或发送电子邮件至 [email protected],讨论升级您的帐户。"}。