InfinityFree is not intended to be used for API hosting, as there is a security system in place that ensures websites are being accessed from a browser:
InfinityFree uses a security system on all free hosting accounts to ensure your website is accessed by real web browsers, not bots or automated scripts. While this protects your site from malicious traffic, it can affect certain types of access.
How the security system works
The system checks that visitors can execute JavaScript and accept cookies: features that all modern web browsers support. This verification happens automatically and most website visitors will never notice it.
You may occa…
If you have a custom domain, using Cloudflare might help, as some of the restrictions are not present when it’s used:
Hello,
I will show you how to easily set up Cloudflare, Edit Records, and Troubleshoot with images!
PLEASE READ BEFORE STARTING!!!
Cloudflare cannot be used on free subdomains from InfinityFree.
You can use Cloudflare on Custom Domains (yoursite.com ) and with Custom Sub-Domains (subdomain.yoursite.com ).
A video tutorial can be found at the end of this guide, should you get stuck.
You must connect your domain to your InfinityFree account first. Read more here .
Set-Up Cloudflare
Go to Dash…
10 Likes