• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 99 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0033 秒)

21. XMLRequest在layaNative下请求崩溃,请求官方协助! [ 81%]

...pe', 'application/json;charset=UTF-8', "sessionid", this.sessionId]是http header请求头的参数,在LayaAir 1.0下是正常的,在LayNative 1.0 (版本:1.72)下会使APP崩溃退出,必然出现,问题在于sessionid参数,这个是我们自定义的header,如果去掉就不会崩...

来源: Laya_社区 发布时间: 20190829

22. iis跨域相关 [ 78%]

...别的网站请求数据的时候提示“No 'Access-Control-Allow-Origin' header is present on the requested resource”,配置了http响应标头之后还是提示这个错误,图中有我详细的配置,请帮我看下,谢谢! 附件 : --> 2017-06-27 添加评论 免费帖 --> 分享 ...

来源: Laya_社区 发布时间: 20170627

23. post提交问题 [ 77%]

...t cannot load http://xxx.xxx.xxx/subData. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'file://' is therefore not allowed access. The response had HTTP status code 500. 后台是用c#写的,请问出现这问题怎么解决,提交图片是OK的,提交数...

来源: Laya_社区 发布时间: 20171225

24. http获取文件资源报错 [ 77%]

... Failed to load http://10.5.2.227:8000/GameLog2018-1-9-17-62.log: Request header field Content-Type is not allowed by Access-Control-Allow-Headers in preflight response.   抱这个错是怎么回事 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请...

来源: Laya_社区 发布时间: 20180110

25. 请问如何可以访问外部图片 [ 77%]

...来自: 访问外部图片链接 1、通过server来访问 2、如果出现header类似报错,需要服务器端添加header头协议,具体可以网上搜下如何解决浏览器跨域,有对应说明 3、如果是访问微信/QQ头像,可以参考下:http://ask.layabox.com/question/2270 ...

来源: Laya_社区 发布时间: 20170213

26. HttpRequest详解(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 76%]

...ccess-Control)请求时,是否使用认证信息(例如cookie或授权的header)。 默认为 `false。` | | timeout | number | 请求超时时间 | `withCredentials`这个属性一般用到不多,这里我们简单介绍下,在web中,发送同域的请求浏览器会将`cookie`自动加在`...

来源: Laya2.0_文档 发布时间: 20210714

27. HttpRequest详解(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 76%]

...ccess-Control)请求时,是否使用认证信息(例如cookie或授权的header)。 默认为 `false。` | | timeout | number | 请求超时时间 | `withCredentials`这个属性一般用到不多,这里我们简单介绍下,在web中,发送同域的请求浏览器会将`cookie`自动加在`...

来源: Laya2.0_文档 发布时间: 20210715

28. laya.net.HttpRequest [ 76%]

...rl:String, data:* = null, method:String = get, responseType:String = text, headers:Array = null):void 发送 HTTP 请求。 HttpRequestEvents Event Summary Defined By  complete请求结束后调度。HttpRequest  error请求出错时调度。HttpRequest  progress请求进度改变时调度。...

来源: laya_api 发布时间: 20170929

29. laya.net.HttpRequest [ 76%]

...rl:String, data:* = null, method:String = get, responseType:String = text, headers:Array = null):void 发送 HTTP 请求。 HttpRequestEvents Event Summary Defined By  complete请求结束后调度。HttpRequest  error请求出错时调度。HttpRequest  progress请求进度改变时调度。...

来源: Laya2.0_api 发布时间: 20190513

30. HttpRequest详解(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 76%]

...ccess-Control)请求时,是否使用认证信息(例如cookie或授权的header)。 默认为 `false。` | | timeout | number | 请求超时时间 | ​ `withCredentials`这个属性一般用到不多,这里我们简单介绍下,在web中,发送同域的请求浏览器会将`cookie`自动加...

来源: Laya2.0_文档 发布时间: 20210715