引入interceptor插件,自动把cookie中的登陆信息带入到postman中。chrome
1.postman安装:浏览器
chrome://extensions/打开,把下载好的postman插件拖到里面就能够了。cookie
2.Postman interceptor安装:curl
chrome://extensions/打开,把下载好的Postman interceptor插件拖到里面就能够了。post
3.Postman interceptor安装完成chrome浏览器右上角会显示一个图标,点击将其打开。测试
4.打开postman,打开interceptor插件url
5.chrome浏览器中登陆测试的帐号,再用postman去测试依赖登陆状态的接口就不须要验证了,由于interceptor已经自动把浏览器中的登陆状态同步到postman啦。插件
发现点击curl请求打开browser,也会直接带入cookieblog