1.打开fiddler编辑脚本,找到OnBeforeRequest处添加代码,点击保存代码按钮使其生效,开启fiddler监控
//外网转内网 https 转 http if (oSession.HostnameIs('www.demo.cn')){ if(oSession.isHTTPS){ oSession.fullUrl = oSession.fullUrl.Replace("https://","http://"); oSession.port = 49534; oSession.hostname = '127.0.0.1'; } }
2.本地api项目设置fiddler中配置好的地址运行
标签:fiddler,http,本地,fullUrl,线上,https,oSession,调试 From: https://www.cnblogs.com/dreamman/p/18230231