Cross-domain front and back end setting withCredentials:true is still unable to carry cookie problem

this is the code of the front-end request
clipboard.png
javacors
clipboard.png

clipboard.png

is there something wrong with the setting mode? I don"t know much about the background code at the front end, and I don"t know how to solve cross-domain problems in the background

.
Mar.03,2021

visit the target address directly, and use the package grab tool or browser developer tool to take a look at the HTTP header to see if there are any domain names that allow you to deploy at the front end.


response header Access-Control-Allow-Credentials:true


forehead. Ask me, have you solved this problem? I found the same problem.


when developing, you can turn off the cross-domain restrictions on chrome browsers.
http://www.cnblogs.com/laden6.

Menu