当我访问服务器时,如何使Angular2记住响应标头中的所有cookie并将其发送到请求标头中!
您应该配置请求let options = new RequestOptions({ headers: headers, withCredentials: true });
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.