admin管理员组文章数量:1023782
I want to send a blob using a JQuery ajax request and receive it server-side with Node.js + express.
I would send the blob as a JSON string, but it seems that none of the binary data is included in it:
{"type":"audio/wav","size":344108}
How else could it be sent?
I want to send a blob using a JQuery ajax request and receive it server-side with Node.js + express.
I would send the blob as a JSON string, but it seems that none of the binary data is included in it:
{"type":"audio/wav","size":344108}
How else could it be sent?
Share Improve this question asked Dec 14, 2014 at 23:16 Will Hardwick-SmithWill Hardwick-Smith 1,0493 gold badges14 silver badges24 bronze badges1 Answer
Reset to default 3JSON doesn't support binary data. You will have to encode your binary data first: Binary Data in JSON String. Something better than Base64
I want to send a blob using a JQuery ajax request and receive it server-side with Node.js + express.
I would send the blob as a JSON string, but it seems that none of the binary data is included in it:
{"type":"audio/wav","size":344108}
How else could it be sent?
I want to send a blob using a JQuery ajax request and receive it server-side with Node.js + express.
I would send the blob as a JSON string, but it seems that none of the binary data is included in it:
{"type":"audio/wav","size":344108}
How else could it be sent?
Share Improve this question asked Dec 14, 2014 at 23:16 Will Hardwick-SmithWill Hardwick-Smith 1,0493 gold badges14 silver badges24 bronze badges1 Answer
Reset to default 3JSON doesn't support binary data. You will have to encode your binary data first: Binary Data in JSON String. Something better than Base64
本文标签: jquerySend and receive a blob in javascriptStack Overflow
版权声明:本文标题:jquery - Send and receive a blob in javascript - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745580969a2157307.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论