Imgur

付费
Verified
通过 Imgur | 已更新 14日前 | Entertainment
人气

9.9 / 10

延迟

1,116ms

服务等级

100%

Health Check

N/A

返回所有讨论

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

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?

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论