chrome+postman自動帶入cookie

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

相關文章
相關標籤/搜索