let xhr = new XMLHttpRequest();
xhr.open("post" , url , true);
xhr.withCredentials = true;
xhr.send(null);
< H2 > server: < / H2 >
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Credentials: true");
< H2 > client error: < / H2 >
Access to XMLHttpRequest at "http://t.com/index.php" from origin "null" has been blocked by CORS policy: The value of the "Access-Control-Allow-Origin" header in the response must not be the wildcard "*" when the request"s credentials mode is "include". The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
the request header also becomes a request header without complete information:
excuse me, under the mixed app development mode, how to allow the client to carry cookie
?