POST请求: new UrlEncodedFormEntity(params, "UTF-8")是不是只能用于post请求
URLEncodedUtils.format(params, "UTF-8")是不是只能用于get请求
还有能不能帮我写一个get请求的例子。 里面有涉及有设置参数的。 如:httpget get = new httpget(); get.setXXX(); httpresponse response = httpclient.execute(get);
收起
http://blog.csdn.net/wangpeng047/article/details/19624529
报告相同问题?