EasyXDM:从第三方服务下载文件 [英] EasyXDM: download files from 3rd party service

查看:155
本文介绍了EasyXDM:从第三方服务下载文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想向第三方服务器发出JavaScript跨网域请求。我已阅读了有关 easyXDM 的信息,但仍然无法确定它是如何工作的。我在Chrome中尝试过示例,但它对我无效(<$



> 为音乐,不允许 p> 问题: easyXDM适合我的需要吗?我还是不明白是否可以从第三方服务/域下载smth

解决方案

除非您正在进行特定通信的第三方服务器支持EasyXDM,这是不恰当的。 EasyXDM要求双方都使用它;它不能用于与不使用它的服务进行通信。


I want to make JavaScript cross domain request to 3rd party server. I've read about easyXDM but still can't finally figure out how does it work. I tried their example in Chrome but it doesn't work for me (Entity to Large for music and Not Allowed for text files).

Question: Is easyXDM appropriate for my needs? I still don't understand whether it's possible to download smth from 3rd party service/domain

解决方案

Unless the third-party server you are communicating specifically supports EasyXDM, it is not appropriate. EasyXDM requires that both sides be using it; it cannot be used to communicate with a service that isn't using it.

这篇关于EasyXDM:从第三方服务下载文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆