码迷,mamicode.com
首页 > 其他好文 > 详细

chrome+postman自动带入cookie

时间:2019-02-06 18:25:04      阅读:278      评论:0      收藏:0      [点我收藏+]

标签:接口   int   inter   测试   curl   同步   row   cep   nbsp   

引入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

 

chrome+postman自动带入cookie

标签:接口   int   inter   测试   curl   同步   row   cep   nbsp   

原文地址:https://www.cnblogs.com/t-gonna/p/10353835.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!