Open petenelson opened 9 years ago
When the admin is being viewed as HTTPS but the site is HTTP, the browser is unable to access the API.
Had the same issue with my logging plugin: https://github.com/petenelson/wp-rest-api-log/commit/9779f7989b13aaf43f0cd5f47097a18c8623f46f
This is a fundamental problem with the REST API and mixed protocols. See https://github.com/WP-API/WP-API/issues/259
When the admin is being viewed as HTTPS but the site is HTTP, the browser is unable to access the API.
Had the same issue with my logging plugin: https://github.com/petenelson/wp-rest-api-log/commit/9779f7989b13aaf43f0cd5f47097a18c8623f46f