要使用postman測試開發的接口時,遇到了登錄權限的問題,本項目的權限是根據cookie中的某個值來作的判斷,那麼就須要在發送post請求的時候附帶cookie內容
http
請求時,附帶 cookie
參數interceptor
按鈕ON
打開攔截器,此時右側的應該出現 CONNECTED
的綠色小點,若是是 UNCONNECTED
的灰色小點,能夠參考文檔UNCONNECTED
的灰色小點官方提到了這樣的解決方案chrome
核心內容是:瀏覽器
The cookies and domains will be populated automatically. Can you confirm the following:cookie
bridge
UNCONNECTED
的灰色小點變成 CONNECTED
的綠色小點