In the Imgur Image Upload, you ask us to provide you with a binary file, base64 data, or a URL for an image. I know how to get base64 data which is using the FileReader.readAsDataURL but I couldn’t find how to get a binary file. I tried FileReader.readAsBinaryString but it didn’t work and I kept getting 400 (Bad Request) errors. Can you please help?
הצטרף לדיון - הוסף תגובה למטה: