使用fiddler监测java发送 Http请求
HttpHost proxy = new HttpHost("127.0.0.1",8888);
RequestConfig requestConfig = RequestConfig.custom().setProxy(proxy).setSocketTimeout(10000).setConnectTimeout(10000).build();
httpPost.setConfig(requestConfig);
posted on 2020-08-21 13:57 songzhiwei613 阅读(309) 评论(0) 编辑 收藏 举报