chrome 的插件Postman可以让我们测试API。
但是有的时候,需要用户登录后,才能测试API。cookie怎么才能共享给Postman。
于是就有了Postman Interceptor。
Postman Interceptor可以把chrome浏览器和Postman cookie共享起来。
在线安装就搜索名字就好了。
离线下载地址:https://www.crx4chrome.com/extensions/
搜索,Postman Interceptor和Postman
下载最新版本,否则会出问题。因为必须要版本一致。我现在下载的是Postman Interceptor0.2.24,Postman 5.3.2,已通过测试。
先Postman Interceptor打开。
然后浏览器访问chrome://apps/
打开Postman,Postman Interceptor中Interceptor打开