Home > Net > The Header request Authorization problem
The Header request Authorization problem
Time:11-16
a new MVC project, so that the request is good, my back end without any validation, but if add token in the request header, would be an error if add the token to the request header will be an error inside the , I except on request header to add the token nothing at all, I don't have any CARDS in the back-end also verify, baidu for a long time, did not solve this problem, a great god, please have a look, I really appreciate
CodePudding user response:
Error is cross-site request, you access token from 8080 to the port and your MVC project 44367 is not the same port
CodePudding user response:
Behind the browser console inside the red error from origin why only HTTP no ps://these?
CodePudding user response:
Cross-domain, interface encapsulation in the background, can call in other places
CodePudding user response:
The cross-domain eldest brother, not a port
CodePudding user response:
I will add a parameter in the header, how can cross domain