简体   繁体   English

EasyXDM:从第三方服务下载文件

[英]EasyXDM: download files from 3rd party service

I want to make JavaScript cross domain request to 3rd party server. 我想向第三方服务器发出JavaScript跨域请求。 I've read about easyXDM but still can't finally figure out how does it work. 我已经阅读了easyXDM,但是仍然无法弄清楚它是如何工作的。 I tried their example in Chrome but it doesn't work for me ( Entity to Large for music and Not Allowed for text files). 我在Chrome浏览器中尝试了他们的示例 ,但对我来说不起作用(对于音乐,“ Entity to Large ”而对文本文件而言, Not Allowed ”)。

Question: Is easyXDM appropriate for my needs? 问题: easyXDM是否适合我的需求? I still don't understand whether it's possible to download smth from 3rd party service/domain 我仍然不知道是否可以从第三方服务/域下载smth

Unless the third-party server you are communicating specifically supports EasyXDM, it is not appropriate. 除非您正在通信的第三方服务器专门支持EasyXDM,否则不合适。 EasyXDM requires that both sides be using it; EasyXDM要求双方都使用它。 it cannot be used to communicate with a service that isn't using it. 它不能用于与未使用它的服务进行通信。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM