HttpClient httpClient=new DefaultHttpClient();
HttpGet httpGet=new HttpGet("http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js&ip=27.154.9.27");
HttpResponse response=httpClient.execute(httpGet);
String result=EntityUtils.toString(response.getEntity(),"UTF-8");
JAVA 模拟浏览器请求
最新推荐文章于 2024-06-23 12:04:59 发布