java.lang.IllegalArgumentException:在发出https请求时索引7处的授权中的非法字符
2022-09-04 06:54:17
在从Android模拟器向我的本地wamp服务器发出http请求时,我得到了上述错误。
// testing on Emulator:
private static final String LOGIN_URL="http:// 10.0.2.2:80/webservice/login.php";
//request:
JSONObject json = jsonParser.makeHttpRequest(LOGIN_URL, "POST", params);