Imgur

PAGO
Verified
Por Imgur | Atualizado hace 5 días | Entertainment
Popularidade

9.8 / 10

Latência

938ms

Nível de serviço

100%

Health Check

N/A

Voltar para todas as discussões

Get binary data for an image uploaded using input type="file"

Rapid account: Recipes Generator
RecipesGenerator
hace 3 años

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?

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários