要使用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
的绿色小点