
http
zhaojian0910
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
java 发送http消息 带参数 HttpURLConnection
代码public static void main(String[] args) throws IOException { String result = ""; BufferedReader in = null; try { String urlNameString = URLNAME + "?param1=...原创 2015-08-24 11:52:36 · 202 阅读 · 0 评论 -
HttpClient + PostMethod 发送post消息
发送带参数的http消息public static String post(String requestBody, String url) { String responseMsg = ""; HttpClient httpClient = new HttpClient(); PostMethod method = new PostMethod(url); ...原创 2015-08-25 09:47:23 · 892 阅读 · 0 评论