![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
httpClient4.5
mutourenoo
这个作者很懒,什么都没留下…
展开
-
httpClient POST表单登录
[url]http://hc.apache.org/httpcomponents-client-4.5.x/examples.html[/url][code="java"] @Test public void test_login(){ CloseableHttpClient httpclient = HttpClients.createDefa...原创 2018-07-07 09:57:59 · 348 阅读 · 0 评论 -
HttpClient 发送XML请求
[code="java"] @Test public void test_payNotify(){ String reqXML=""; CloseableHttpClient httpclient = HttpClients.createDefault(); CloseableHttpResponse respon...原创 2018-07-07 09:59:56 · 1274 阅读 · 0 评论