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.

8 Likes

Thank you very much, I understand.

2 Likes

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