Title: Insecure XMLHttpRequest endpoint: the content must be served over HTTPS
Last modified: May 22, 2024

---

# Insecure XMLHttpRequest endpoint: the content must be served over HTTPS

 *  [Jackson](https://wordpress.org/support/users/squadsites/)
 * (@squadsites)
 * [2 years ago](https://wordpress.org/support/topic/insecure-xmlhttprequest-endpoint-the-content-must-be-served-over-https/)
 * I’m trying to create a test on an Elementor page. This pop-up error appears when
   I click the Save button: _“Error saving new test”_
 * In the browser console, the log shows:
   _Mixed Content: The page at ‘[https://www.mysite.com/wp-admin/post.php?post=56746&action=elementor&#8217](https://www.mysite.com/wp-admin/post.php?post=56746&action=elementor&#8217);
   was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘[http://www.mysite.com/wp-json/splitTestForElementor/v1/tests&#8217](http://www.mysite.com/wp-json/splitTestForElementor/v1/tests&#8217);.
   This request has been blocked; the content must be served over HTTPS._
 * In the Network tab, I see this information about the request:
   **Requested URL:**
   [https://www.mysite.com/wp-json/splitTestForElementor/v1/tests/](https://www.mysite.com/wp-json/splitTestForElementor/v1/tests/)
 * **Response Header – Location**: [http://www.mysite.com/wp-json/splitTestForElementor/v1/tests](http://www.mysite.com/wp-json/splitTestForElementor/v1/tests)
 * Any idea how to fix this error?

Viewing 1 replies (of 1 total)

 *  [perchpole](https://wordpress.org/support/users/perchpole/)
 * (@perchpole)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/insecure-xmlhttprequest-endpoint-the-content-must-be-served-over-https/#post-17876001)
 * I have the same problem.

Viewing 1 replies (of 1 total)

The topic ‘Insecure XMLHttpRequest endpoint: the content must be served over HTTPS’
is closed to new replies.

 * ![](https://ps.w.org/split-test-for-elementor/assets/icon-256x256.jpg?rev=3385865)
 * [Split Test For Elementor](https://wordpress.org/plugins/split-test-for-elementor/)
 * [Support Threads](https://wordpress.org/support/plugin/split-test-for-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/split-test-for-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/split-test-for-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/split-test-for-elementor/reviews/)

## Tags

 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [XMLHttpRequest](https://wordpress.org/support/topic-tag/xmlhttprequest/)

 * 1 reply
 * 2 participants
 * Last reply from: [perchpole](https://wordpress.org/support/users/perchpole/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/insecure-xmlhttprequest-endpoint-the-content-must-be-served-over-https/#post-17876001)
 * Status: not resolved