javascript - fileReader.readAsBinaryString to upload files - Stack Overflow
I'm sorry to dig this again, just wanted to add that probably the easiest way to send binary data (etc. a PDF file) is through FileReader.readAsDataURL and on onload handler instead of just sending the event.target.result (which is not a clean base64 enco...