摘要: 使用Java调用RestFul接口,以POST请求为例,以下提供几种方法: 一、通过HttpURLConnection调用 1 public String postRequest(String url, String param) { 2 StringBuffer result = new Stri 阅读全文
posted @ 2019-07-17 16:49 大兵 阅读(6739) 评论(0) 推荐(0) 编辑