Now I\'m getting File object by this line:
file = document.querySelector(\'#files > input[type=\"file\"]\').files[0]
I need to send thi
JavaScript btoa() function can be used to convert data into base64 encoded string