Home > front end >  Add the response headers cross-domain request, asp?
Add the response headers cross-domain request, asp?

Time:09-30

No 'Access - Control - Allow - Origin' header is present on the requested resource. The Origin 'null' is therefore not allowed Access.

CodePudding user response:

Response. AddHeader Access - Control - Allow - "Origin", "*"
Response. AddHeader "Access - Control - Allow - Credentials", "true"
Response. AddHeader "Access - Control - Allow - the Methods", "GET, POST, PUT, DELETE"
Response. AddHeader "Access - Control - Allow - Headers", "the content-type
"
  •  Tags:  
  • ASP