摘要: public static String getJsonData( String jsonData, String url) { String str = ""; CloseableHttpClient httpclient = null; CloseableHttpResponse result = null; ... 阅读全文
posted @ 2018-11-26 16:11 正能量教官 阅读(2662) 评论(0) 推荐(1) 编辑
摘要: public String HttpPostWithJson(String url, String json) { String returnValue = "这是默认返回值,接口调用失败"; CloseableHttpClient httpClient = HttpClients.createDefault(); ResponseHandler ... 阅读全文
posted @ 2018-11-26 13:53 正能量教官 阅读(1957) 评论(1) 推荐(0) 编辑