Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.
Yes, the security system is what’s stopping your Android app and cURL. The /aes.js page you get back is the free hosting browser check. Your request never reaches your PHP script.
Our knowledge base article says the check requires JavaScript and cookies. A tool or app that can’t run it gets a short HTML page that loads /aes.js, and the article lists Android and iOS apps, REST APIs and cURL as things that won’t work. To your three questions:
- Does it block direct API requests from Android apps? Yes. The article says Android apps can’t connect to a site on free hosting, and that REST APIs and command-line tools like cURL are affected too.
- Is there a supported way to skip the challenge? No. It covers every URL on the site and can’t be excluded for one path, file type, user agent or IP address. A custom domain doesn’t change this either, and it can’t be disabled on free hosting.
- Is premium hosting the only way? The article’s answer is premium hosting, which it says protects the site with less restrictive methods and lets mobile apps, APIs and automated tools work normally.
Here’s the article, with all the details:
Someone else asked almost the same thing a few days ago, for an Android chat app calling a PHP API. The knowledge base article above is the better source.