一、安装node
whistle是基于node实现的
node.js官网:http://nodejs.cn/
二、安装whistle
#终端使用npm命令安装whistle
npm install -g whistle
#启动命令
w2 start
三、安装谷歌代理插件
国内插件下载地址 https://www.crxsoso.com/
Proxy SwitchyOmega
配置proxy
系统代理 切换至所选 代理配置
四、whistle测试配置
进入配置页面 http://127.0.0.1:8899/
配置测试域名test.com
并保存
访问测试域名 test.com
能跳转至 whistle配置页面即成功
五、whistle代理后端接口
查看后端接口地址
如若域名配置了https, whistle也需配置https即可