# Android app gets HTTP 403 on API endpoint

**URL:** <https://forum.infinityfree.com/t/android-app-gets-http-403-on-api-endpoint/121448>\
**Category:** Hosting Support\
**Created:** [October 20, 2026, 5:19am UTC](https://forum.infinityfree.com/t/android-app-gets-http-403-on-api-endpoint/121448 "2026-10-20T05:19:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![revancihuy](https://forum.infinityfree.com/letter_avatar/revancihuy/32/6_449c533f586939b6e5f246632a46421f.png) [@revancihuy](https://forum.infinityfree.com/u/revancihuy)\
**Post date:** [October 20, 2026, 5:19am UTC](https://forum.infinityfree.com/t/android-app-gets-http-403-on-api-endpoint/121448/1 "2026-10-20T05:19:56Z")

</div>

### Website URL

[https://volismk2pwk.site.je/api/data](https://volismk2pwk.site.je/api/data)

### Error Message

Endpoint [https://volismk2pwk.site.je/api/data](https://volismk2pwk.site.je/api/data) menampilkan JSON di browser, tapi aplikasi Android native menerima HTTP 403 dengan halaman HTML. Apakah ada cara mengizinkan akses API langsung tanpa JavaScript challenge?

### Other Information

yaa

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [October 20, 2026, 5:19am UTC](https://forum.infinityfree.com/t/android-app-gets-http-403-on-api-endpoint/121448/2 "2026-10-20T05:19:56Z")

</div>

Welcome to the InfinityFree community forum! Good to have you here.

- Most people answering here are volunteers. They’re often the fastest source of help. Admin (the only staff member) checks in about once a day for issues on our end.
- Volunteers can’t see your account or website. Share what you actually see, like error messages and what happens when you try something. That’s more useful than your theory of what’s wrong.
- AI tools often get InfinityFree wrong. If a volunteer’s advice differs from what an AI told you, please try the volunteer’s suggestion first.
- Solving an issue is a joint effort. Try the suggestions you get and report back what happened.

---

<div class="post-metadata">

**Author:** ![Lemni](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lemni/32/68303_2.png) [@Lemni](https://forum.infinityfree.com/u/Lemni)\
**Post date:** [October 20, 2026, 5:20am UTC](https://forum.infinityfree.com/t/android-app-gets-http-403-on-api-endpoint/121448/3 "2026-10-20T05:20:19Z")

</div>

_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._

No, there isn’t a way to allow direct API access on free hosting. The JavaScript challenge is the security system that covers every free hosting account, and it can’t be turned off. That includes your `volismk2pwk.site.je` subdomain.

The system only lets through visitors that can run JavaScript and keep a cookie. A browser does that without you noticing, which is why you see the JSON there. A native Android app can’t, so it gets an HTML page instead of your JSON. That page loads `/aes.js` and sets a `__test` cookie. The article lists Android and iOS apps and REST APIs among the things that can’t connect. It also says the check can’t be excluded for one path, file type, user agent or IP address.

The article names 403 Forbidden as the most common error for blocked requests. You can check this on your side. If the HTML your app receives mentions `aes.js`, the request was stopped by the security system and never reached your code.

The article describes this and the options in full:

> [@Browser Security System - Features and Limitations](https://forum.infinityfree.com/docs?topic=49353):
>
> 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…

It says that if your app needs this kind of access, you’d need to move to [premium hosting](https://www.infinityfree.com/premium/), which protects sites with less restrictive methods that allow apps and APIs.

---

<div class="post-metadata">

**Author:** ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/68577_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)\
**Post date:** [October 20, 2026, 6:03am UTC](https://forum.infinityfree.com/t/android-app-gets-http-403-on-api-endpoint/121448/4 "2026-10-20T06:03:03Z")

</div>

This is too be expected

InfinityFree is designed for website hosting not API hosting.

The security system blocks nom-browser access

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [October 27, 2026, 6:03am UTC](https://forum.infinityfree.com/t/android-app-gets-http-403-on-api-endpoint/121448/5 "2026-10-27T06:03:17Z")

</div>

Closed on October 27, 2026, 6:03am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
