25万交易用完后,HERE api返回什么Http状态码?

问题描述 投票:1回答:1

我在用一个免费增值账号测试路由API。我想知道25万免费交易烧完后api返回的http状态码和错误信息是什么?

我在文档中没有找到 https:/developer.here.comdocumentationroutingdev_guidetopicshttp-status-codes.html。.

here-api
1个回答
0
投票

响应将如下:错误代码将是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],讨论升级您的帐户。"}。

© www.soinside.com 2019 - 2024. All rights reserved.