@Override
public String amountQueryscore(String phone) {
Map params = new LinkedHashMap();
Map body = new HashMap();
params.put("access_token", amountCallbackToken());
params.put("method", "qryUserInfo");
params.put("format", "json");
body.put("TELNUM", phone) ;
Response response= Http.post3(Constants.URL_BUSINESS, Json.toJson(body), Header.create(params), 3000);
System.out.println("Query Score:\t" + response.getContent());
return response.getContent();
}
错误:
Exception in thread "main" org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char '<'], reason: 'Unexpect String =
Status page
Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request
You can get technical details here.
Please continue your visit at our home page.
4 回复
Exception in thread "main" org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char '<'], reason: 'Unexpect String =
Status page
Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request
You can get technical details here.
Please continue your visit at our home page.
Exception in thread "main" org.nutz.json.JsonException: !Json syntax error nearby [row:1,col:1 char '<'], reason: 'Unexpect String = <html>
<head>
<title>Status page</title>
</head>
<body style="font-family: sans-serif;">
<p style="font-size: 1.2em;font-weight: bold;margin: 1em 0px;">Internal Server Error</p>
<p>The server encountered an unexpected condition which prevented it from fulfilling the request</p>
<p>You can get technical details <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1">here</a>.<br>
Please continue your visit at our <a href="/">home page</a>.
</p>
</body>
</html>
添加回复
请先登陆