Time:09-30
CodePudding user response:
look at the error message of the browser
thank solutions, using the HTML + ajax + asp, now see the error information to No 'Access - Control - Allow - Origin' header is present on the requested resource. The Origin of 'null' is therefore not allowed Access. See online say need to add the response headers, but did not find a way to add asp response headers, reference other didn't also to, how to deal with?
Quote: refer to the fifth floor prog_Learner reply: Thank solutions, using the HTML + ajax + asp, now see error messages to No 'Access - Control - Allow - Origin' header is present on the requested resource. The Origin 'null' is therefore not allowed Access. See online say need to add the response headers, but didn't find a way to add asp response headers, reference other didn't also to, how to deal with? https://blog.csdn.net/u013202238/article/details/81605842
Thank solutions, using the HTML + ajax + asp, now see error messages to No 'Access - Control - Allow - Origin' header is present on the requested resource. The Origin 'null' is therefore not allowed Access. See online say need to add the response headers, but didn't find a way to add asp response headers, reference other didn't also to, how to deal with?
asp set response headers Response. AddHeader Access - Control - Allow - "Origin", "*"
Page link:https//www.codepudding.com/frontend/43361.html