Website URL
Error Message
When I try to access my API at https://fcdn.ct.ws/api/upload.php using methods like curl, fetch, or axios, I receive an HTML response containing JavaScript code and a message like:
This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support This prevents my API from being accessed because my clients do not support JavaScript or cannot handle the `__test` cookie generated by InfinityFree's anti-bot system.Other Information
I have a website and API built with PHP, hosted on InfinityFree. Previously, I used cPanel hosting, and my API worked perfectly without issues. After migrating to InfinityFree, the anti-bot system injecting the __test
cookie and requiring JavaScript is breaking my API functionality. My project is large, and my clients (using curl, fetch, or axios) cannot be modified to handle JavaScript or cookies easily. I kindly request if the __test
cookie or anti-bot system can be disabled for my site or if there’s a way to bypass it for my API endpoints without changing my client-side code. Any assistance or alternative solutions would be greatly appreciated.