【发布时间】:2017-08-24 03:58:03
【问题描述】:
当我使用标头作为content-type: application/JSON 标头发出 POST 请求时,请不要在请求标头中设置 cookie。但是当我将标头更改为 content-type: application/x-www-form-urlencoded 标头时,请在请求标头中设置一个 cookie。
服务器接受application/JSON 格式。
另外,我已经在客户端给了with-credentials: true。
【问题讨论】:
-
你的问题是什么?