在postman用户界面打开下载 Postman Interceptor的链接是被禁掉的,那么如何下载 Postman Interceptor 以及安装到Chrome的拓展插件然后顺利使用这个功能呢。
1,已经安装postman客户端,链接附在下面(官网资源):
2,下载postman interceptor (火狐浏览器似乎打不开,可以使用chrome,edge浏览器):
3,下载完成以后,把crx格式的文件解压:
4,打开chrome的拓展插件页面:
5,把解压完成的文件夹拖到chrome的拓展插件页面,完成后如下图
6,下载Interceptor bridge:
7,解压下载完成的Interceptor bridge,
拷贝step 5 中的ID值,在\InterceptorBridge_Windows_1.0.1\InterceptorBridge_Windows\ com.postman.postmanapp.json文件中用Interceptor的ID替换chrome-extension的值:
8,解压下载完成的Interceptor bridge,在\InterceptorBridge_Windows_1.0.1\ InterceptorBridge_Windows 双击‘install_host.bat’
9,打开postman的Interceptor 功能
10,重启Chrome,打开Postman Interceptor
以上环境是在windows系统操作。
Postman Interceptor v 1.1.1
注意:
1,遇到连不上的问题遇,可以先uninstall_host,再install-> 重启Chrome 尝试解决
2,上述方法解决不了,可在com.postman.postmanapp.json中找到path的值, 根据path的值找到对应的文件夹,再到log文件夹下面的log文件查看报错信息,大部分报错是因为端口被占用(仅供参考),其他报错原因可以查找相关解决办法,或者在评论区讨论。
3, postman 版本不兼容,postman v7.36.1亲测有效