请求怎么携带cookie
#379
-
我在请求后请求头并没有cookie 请求工具类
alova版本 2.13.1 |
Beta Was this translation helpful? Give feedback.
Answered by
Aixbox
Jun 12, 2024
Replies: 1 comment 2 replies
-
默认是携带 cookie 的,请检查一下服务器的响应是否有 Set-Cookie 字段 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
解决了,要在请求拦截器添加config.credentials = 'include'