httpClient使用Post Get Put Delete请求
Post请求(常用的)
public String sendDefaultHttpsPost(String url, Map paramMap) throws IOException{ List nvPairs = new ArrayList(); HttpPost httpPost = new HttpPost(url); CloseableHttpResponse httpResponse = null; String retStr = "";...
原创
2021-06-24 17:38:28 ·
217 阅读 ·
0 评论