Ayuda

0

Uploading an Image via the API

Hi all,

I am familiar with the ORM API and how to use to create new rows in models,

However, when there is a field which is an image (type: binary), how are we supposed to update its contents through the API?

Thanks.

Avatar
Descartar
1 Respuesta
0
Avatar
Paresh Wagh
Best Answer

Hi Alejandro: You can try using python's base64 module to encode the content and pass it to the api.

Avatar
Descartar