I make Ajax request, but I get an error "has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource". What is the reason? I tried to work with php, everything works fine, but when I rewrite the code in javascript an error appears. I was looking for similar errors in the forum, but I did not find any practical answers.
Can someone help?



