摘要: HttpPostrequest=newHttpPost(url);//先封装一个JSON对象JSONObjectparam=newJSONObject();param.put("name","rarnu");param.put("password","123456");//绑定到请求EntryStringEntityse=newStringEntity(param.toString());request.setEntity(se);//发送请求HttpResponsehttpResponse=newDefaultH 阅读全文
posted @ 2012-06-29 15:18 M' 阅读(455) 评论(0) 推荐(0)