![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
http请求
文章平均质量分 65
一个猴子请来的救兵
生死有命 富贵在天
展开
-
httpPost请求,application/json格式
import net.sf.json.JSONObject;import org.apache.http.HttpResponse;import org.apache.http.client.methods.HttpPost;import org.apache.http.entity.StringEntity;import org.apache.http.impl.client.Defa原创 2017-08-22 11:05:52 · 30506 阅读 · 2 评论 -
httpClient请求
import java.util.ArrayList;import java.util.Date;import java.util.List;import org.apache.http.HttpResponse;import org.apache.http.NameValuePair;import org.apache.http.client.entity.UrlEncodedFor...原创 2017-08-17 17:14:23 · 361 阅读 · 0 评论