在IntelliJ idea中使用fiddler捕获Web请求

//在Java代码中调用System.setProperty ()
//使用纯粹的HTTP代理,将http.proxyHost设置为代理服务器的域名或IP地址
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");
发布了144 篇原创文章 · 获赞 77 · 访问量 538万+

猜你喜欢

转载自blog.csdn.net/wtl1992/article/details/103068945