CORS Error

When I Send Request From softt-blanket.rf.gd To io-store.rf.gd/io-code.php Using Ajax method GET Display me this error
Access to XMLHttpRequest at ‘https://io-store.rf.gd/io-code.php’ from origin ‘https://softt-blanket.rf.gd’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
io-store.rf.gd/io-code.php code

<?php header("Access-Control-Allow-Origin: *"); header("Content-Type: text/plain"); echo "Txt file"; ?>

This:

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.