chrome+postman自动带入cookie

引入interceptor插件,自动把cookie中的登录信息带入到postman中。

1.postman安装:

chrome://extensions/打开,把下载好的postman插件拖到里面就可以了。

2.Postman interceptor安装:

chrome://extensions/打开,把下载好的Postman interceptor插件拖到里面就可以了。

3.Postman interceptor安装完成chrome浏览器右上角会显示一个图标,点击将其打开。

4.打开postman,打开interceptor插件

 

5.chrome浏览器中登录测试的账号,再用postman去测试依赖登录状态的接口就不需要验证了,因为interceptor已经自动把浏览器中的登录状态同步到postman啦。

发现点击curl请求打开browser,也会直接带入cookie

猜你喜欢

转载自www.cnblogs.com/t-gonna/p/10353835.html