String url = "https://www.baidu.com/";
Map<String, Object> params = new HashMap<String, Object>();
params.put("uname", "admin");
params.put("pwd", "123456");
String result = Http.post(url, params, 30000);
Log.i("chenbin", result);
报异常:
03-30 15:46:33.727: I/chenbin(7360): catch exception :org.nutz.http.HttpException: url=https://www.baidu.com/