Issue: API returns JavaScript instead of JSON for non-browser clients

"Hello,

My API (PHP/Node.js) is returning an HTML page with JavaScript (verification challenge) to my Android app (OkHttp/Retrofit) instead of the API response. Since programmatic clients do not execute JS, the communication fails.

Is it possible to disable this JavaScript challenge for API accesses, or configure my domain/path for direct access without verification?

Thanks!"

Welcome back to the forum!

And, if you’re asking, it isn’t possible to disable the security system as it’s mandatory on all websites.

Thank you very much, I understand.