HttpRequest.send(), among which headers (header information, key value array), can cookies be set? Like this:
var headers:Array<any> = new Array<any>();
headers.push("Cookie", "token=xxxxx");
but it prompts Refused to set unsafe header "Cookie". How to solve it?
2017-06-06 Add a comment Free post
share
1 reply
Injecting cookies is currently not supported, so the above method is not implemented!