opensocial-jquery 如何克服浏览器无法解析跨域 POST 结果的问题?

发布于 2024-10-08 15:55:37 字数 325 浏览 9 评论 0原文

我的印象是您需要一个网络代理来解析跨域 AJAX POST。

但显然,您可以使用 opensocial-jquery 来完成此操作。

有人可以解释一下 opensocial-jquery 如何实现这一点吗?

I was under the impression that you needed a web proxy to parse the results of a cross-domain AJAX POST.

But apparently, you can accomplish this with opensocial-jquery.

Could someone please explain how opensocial-jquery makes this happen?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

差↓一点笑了 2024-10-15 15:55:37

嗯...您链接到的页面上的第一句话解释了它

来自 http: //code.google.com/p/opensocial-jquery/wiki/Ajax

由 jQuery.ajax 生成的所有请求都会转发到代理小工具服务器。这释放了跨域限制并保持了兼容性。

Umm... the very first sentence on the page you linked to explains it

From http://code.google.com/p/opensocial-jquery/wiki/Ajax

All requests generated by jQuery.ajax are relayed to the proxy gadget server. This frees up cross-domain restrictions and maintains compatibility.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文