[Django]-How to read Django request.FILES (which is an image) as binary

0👍

I posted another question. Because this question include not one issue but some issues like ‘there’s no actual data but name and size’, ‘get binary image’, ‘google vision api using’, …
So I decided post another one for only ‘no data’issue. and there is the answer

Summary : I already read the data in request.FILES["file"].read(). So there’s no data in buffer of subsequent calls.

👤mappy

Leave a comment