Using the JSON API via HTTPS and HTTP
We have developed a mobile application using the JSON API plugin.
The current website is running on HTTP, we are planning to change the website to HTTPS.
Currently, mobile users on the live app are on HTTP; if we change the website to HTTPS then the app doesn’t work so we have to publish a new app to work on HTTPS, but then the old app will not work, and we can’t force a user to upgrade the app to the latest version.
We have a solution but we don’t how to implement it: to make the website HTTPS and only the JSON API plugin to work on HTTP and HTTPS. How can we do this?
Leave an answer