XMLHttpRequestでバイナリな文字列を送信できそうなメソッド
#XMLHttpRequest #バイナリ文字列 #binary
XMLHttpRequest.sendAsBinary(binaryString);
参考: XMLHttpRequest.sendAsBinary() - Web APIs | MDN
発見場所: drag and drop | Scene Research Station
バイナリならBlobとかで送るならsend()でもOK。文字列をtext/plainにしないで送る方法なのかな?
ただし、MDNでは単にsend()を使うべきと言っている。
https://gyazo.com/6dba2b057e471de73c91f7ab031bc720