I need to create an API
header('Access-Control-Allow-Origin: *') in api.php and when making a request using
That’s my code.
Without more detail, my assumption is that the request is getting blocked by this system:
InfinityFree is a website hosting service. That means that the hosting accounts we provided are intended for hosting websites. Websites contain pages that are accessed through web browsers. InfinityFree is not intended to be used for file sharing, API hosting, database hosting or background tasks/tools.
To help enforce this, free hosting enforces a security system that makes sure that anyone trying to access your website is using a normal web browser. This is done by checking whether the web br…
Yeah, right now I just read that it wasn’t possible, so it’s a concern not being able to make an API, I understand that it’s for security, but it’s annoying, I have to agree that infinityfree is free, for which I appreciate
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.