飘动的网络混合内容

发布于 2025-01-27 23:58:24 字数 301 浏览 4 评论 0原文

我的flutter应用程序在Android和iOS设备中运行正常。

现在我正在网上尝试。 但是我遇到了混合的内容错误。

错误 混合内容:'https://myhostingweb.com/#/的页面已加载到https上,但请求Insecure XMLHTTPRequest Endpoint'http://mybackendrequestweb.com/some.php'。该请求已被阻止;内容必须通过https提供。

我尝试了一些解决方案,但无效。 我正在用于HTTP请求DIO库,

请帮助。 提前致谢。

I have flutter app which is working ok in android and ios device.

Now I am trying it on web.
But I'm getting mixed content error.

Error
Mixed Content: The page at 'https://myhostingweb.com/#/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://mybackendrequestweb.com/some.php'. This request has been blocked; the content must be served over HTTPS.

I tried some solution, but nothing work.
I'm using for http request dio library

Please help.
Thanks in Advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文