WP-API / rest-api-console

Other
26 stars 9 forks source link

Mixed content error when admin is HTTPS and site is HTTP #30

Open petenelson opened 9 years ago

petenelson commented 9 years ago

When the admin is being viewed as HTTPS but the site is HTTP, the browser is unable to access the API.

image

Had the same issue with my logging plugin: https://github.com/petenelson/wp-rest-api-log/commit/9779f7989b13aaf43f0cd5f47097a18c8623f46f

johnbillion commented 8 years ago

This is a fundamental problem with the REST API and mixed protocols. See https://github.com/WP-API/WP-API/issues/259