大约有 175 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
[LayaNative3]打包安卓发送http发送数据发送后端接收不正确 {"username":"12555566666","password":"12345678"}总字符串长度48以上的时候正常 {"username":"123","password":""}总字符串数为32时不正确 不正确后端接收的数据为: 6091 c700 7100 0000 183e 5fff 70...
来源: Laya_社区 发布时间: 20240121
http发送请求跨域 laya2.0 http发送请求跨域。原生h5 发送请求可以。服务器已做跨域处理。 2019-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20190918
我发送http请求 为什么ide里能发送成功 手机里却发送失败 报Request failded Status 0的错误 2017-07-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 cuixueying 赞同来自: 不清楚,最...
来源: Laya_社区 发布时间: 20170707
HTTP以POST发送Byte字节流,服务器无法解析 JS代码: function starConnection() { console.log("starConnection"); conn=new HttpRequest(); conn.once(Event.PROGRESS, this, onHttpRequestProgress); conn.once(Event.COMPLETE, this, onHttpRequestComplete); conn.once(Event.ERROR, this, onHttpRequ...
来源: Laya_社区 发布时间: 20160726
laya2.0 http 发送请求跨域报错 这边用原生xmlhttprequest发送请求正常,用laya.httprequest 发送请求报错。 Access to XMLHttpRequest at 'file:///C:\Users\pc\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.pnghttp://gs.mingdikeji.com/passion//system/getVersion' ...
来源: Laya_社区 发布时间: 20190805
请问我用下面的代码发送个简单的http get请求,为什么在电脑上能得到成功输出,在手机上总是得到失败输出呢? function myfunc() { var url = "http://43.254.151.248/sf_serve ... 3B%3B alert("url=" + url); var req = new laya.net.HttpRequest(); req.on(laya.events...
来源: Laya_社区 发布时间: 20161103
...调参数。ReturnsEventDispatcher — 此 EventDispatcher 对象。 请求发送: var hr = new HttpRequest(); hr.once(Event.COMPLETE, this, http.success,[1,2,3]); hr.send("http://localhost:8082/hu_get",{}, "post","json",null); 回调方法: success:function (e,args) { console.log(e); //...
来源: Laya_社区 发布时间: 20180304
HttpRequest如何发送JSON数据 发送JSON数据 var logReq = new laya.net.HttpRequest(); logReq.once(Laya.Event.COMPLETE,this,this.onComplete); logReq.send("http://127.0.0.1:3001/login", "username: 'lxd', password: 'lxd'", 'post', "json...
来源: Laya_社区 发布时间: 20170906
...问题请先登录 发起人 archerxy 相关问题 TypeScript下HttpRequest发送Post请求有Bug? LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, list拉到顶部的时候,如何防止触发多次请求 http 请求 once 的 回调参数,如何传递和接收? 为...
来源: Laya_社区 发布时间: 20170621
如何post发送json数据中包含&&特殊字符,怎么办? 下面用post方法请求一个数据方式如下: var tj:any={"a":"123&&456", "b":"ccc"}; str="paramA="+JSON.stringify(tj); //xhr.send("http:xxx.xxx.com","a=xxxx&b=xxx","post","text"); xhr.send("http:xxx.xxx.com...
来源: Laya_社区 发布时间: 20171013