5
回答
HttpCilent 访问OSC没有权限
HttpClient httpClient = new HttpClient(); GetMethod getMethod = new GetMethod("http://www.oschina.net/"); int statuCode = httpClient.executeMethod(getMethod); System.out.println("response=" + getMethod.getResponseBodyAsString()); getMethod.releaseConnection(); 代码在这@首席撸破皮 难道要换POST方式?
举报
顶部