web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

XMLHttpRequest Form Script

(0) ShareShare
ReportReport
Posted on by

Hi,

From an Entity Form in Dynamics CRM 2015 OnPremise (ADFS) I am trying to make a XMLHttpRequest. Since the service I am trying to call uses Http and the CRM uses Https I get an error.

The page at 'https://crmserver' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '127.0.0.1/Stuff;Param2=456'. This request has been blocked; the content must be served over HTTPS.

Does anyone know if I can get around this problem not changing to '127.0.0.1/Stuff;Param2=456'?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Alessandro Graps Profile Picture
    2,664 on at
    RE: XMLHttpRequest Form Script

    The best strategy to avoid mixed content blocking is to serve all the content as HTTPS instead of HTTP.

    For your own domain, serve all content as HTTPS and fix your links. Often, the HTTPS version of the content already exists and this just requires adding an "s" to links - http:// to https://.

    For other domains, use the site's HTTPS version if available. If HTTPS is not available, you can try contacting the domain and asking them if they can make the content available via HTTPS.

    Refer this article for more details: How to fix a website with blocked mixed content (this is just an example) developer.mozilla.org/.../How_to_fix_website_with_mixed_content

    Thanks

    A.G.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans