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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM