How can I access at

Username epiz_32092852


Error Message

Access to XMLHttpRequest at ‘’ from origin ‘’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Other Information

So can I access at (or

I’m not a native English speaker, so please excuse my grammar mistakes

InfinityFree is a webhosting company, not an API host.


I know, but is also hosted by infinityfree

I just want to separate PHP files from HTML files

CORS must be used from the same domain. So if you have an api that you intend to use, you must keep it on the same domain or set up CORS correctly.


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