Fiddler进行idea抓包操作
注意:开启了代理一定要打开抓包工具进行抓包,不然你让人家走代理又不打开抓包工具让人没路走?
// 设置代理
System.setProperty("http.proxyHost", "127.0.0.1");
System.setProperty("https.proxyHost", "127.0.0.1");
System.setProperty("http.proxyPort", "8888");
System.setProperty("https.proxyPort", "8888");
使用