Title: React Native API Requests Returning AES.js Security Challenge Instead of JSON

Hello,

I am hosting my PHP website on ProFreeHost.

My API works correctly in Google Chrome and returns valid JSON. However, when my React Native mobile application sends a GET request to the same API endpoint, the server returns an HTML security challenge containing /aes.js instead of JSON.

API endpoint:
https://babatraders.liveblog365.com/api/dashboard.php

Could you please help me disable or exclude this anti-bot challenge for my /api/ directory?

I need my mobile application to receive direct JSON responses.

Thank you.

Hi @muhammaduzair2049,

Your API works in Chrome because the browser completes our security check (aes.js) automatically. Mobile apps and other non-browser clients can’t do this, so they get the challenge page instead of JSON.

This check applies to all free hosting accounts and can’t be disabled or excluded for specific folders. To use your site as a backend for a mobile app, you’ll need a premium hosting plan, which doesn’t have this restriction.