I’m developing a small mobile app which needs a tiny little backend (REST API backed by a MySQL database). Built the backend and uploaded it, but I notice some strange behaviour.
If I access one of its endpoints through the browser (Chrome in my case), it works fine. I get the result I expect: some JSON.
If I access that same endpoint through Postman (of my app) I get this HTML (added as image because editor would not let me add it as plain text): https://postimg.org/image/a72yjtcpd/
Any ideas of what could be wrong here? I did notice that in the url that is in the HTML has had ?i=1 added to it. Noticed that the browser also displays that URL in the address bar.
The first time you try to load your website, a security check is started which checks if your browser can run Javascript and accepts cookies. Most visitors will not notice this.
However, it means you cannot run API services on your hosting account here. You can only host regular websites.
If you want to host an API service you can access from a mobile app, you need to upgrade your account.
manifest.json - file describing new favicon standard and website tile is not being loaded properly (that same javascript gets injected into it. any workaround for that?