大约有 68 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0050 秒)
[LayaNative3]打包安卓发送http发送数据发送后端接收不正确 {"username":"12555566666","password":"12345678"}总字符串长度48以上的时候正常 {"username":"123","password":""}总字符串数为32时不正确 不正确后端接收的数据为: 6091 c700 7100 0000 183e 5fff 70...
来源: Laya_社区 发布时间: 20240121
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
http发送请求跨域 laya2.0 http发送请求跨域。原生h5 发送请求可以。服务器已做跨域处理。 2019-09-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20190918
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
如何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
HttpRequest无法发送除字符串以外的数据 laya现在的HttpRequest类无法发送字符串以外的数据,服务器收到的都是空的,我看了下源码, ,10905行的http.send(data)可能需要改一下,我用XMLHttpRequest类send()的时候,json数据都是先用JSON.string...
来源: Laya_社区 发布时间: 20170426
socket通信发送protobuf后服务端是string var msgByteArray:WritingBuffer = new WritingBuffer(); message.writeTo(msgByteArray); msgByteArray.position=0; _socket.send(msgByteArray); send之后服务端收到数据之后为string 2016-12-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20161214
...问题请先登录 发起人 archerxy 相关问题 TypeScript下HttpRequest发送Post请求有Bug? LayaNative ios上js访问不到JSBridge类中的方法,请求官方帮助, list拉到顶部的时候,如何防止触发多次请求 http 请求 once 的 回调参数,如何传递和接收? 为...
来源: Laya_社区 发布时间: 20170621
LayaAir引擎 TypeScript下HttpRequest发送Post请求有Bug? 引擎:1.7.19 IDE: 1.7.19 使用TypeScript,输出H5 HttpRequest指定post模式,但通过浏览器看到却永远是get模式 测试代码已缩减至50行以内,确定无其它干扰 有人遇到过相同困扰吗?求帮...
来源: Laya_社区 发布时间: 20180820
我要怎么解析服务器发送过来json格式的数据包啊 2017-03-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: 参考http://ask.layabox.com/question/1160 2017-03-26...
来源: Laya_社区 发布时间: 20170326