mercadolibre / python-sdk

MercadoLibre's Python SDK
131 stars 111 forks source link

Better support for files upload #26

Open gusarg81 opened 5 years ago

gusarg81 commented 5 years ago

Since this API SDK is using requests, I think would be better to post files as requests way: http://docs.python-requests.org/en/master/user/quickstart/#post-a-multipart-encoded-file

Using this method, requests will send a multipart/form-data.

EDIT: temporary I had to create a own method by using pycurl (which works), since using requests (from this API) and param files (added to the post method), the response status is 500.

The code for pycurl: https://stackoverflow.com/a/53547438/6696269

gusarg81 commented 5 years ago

No response from anyone? This is amazing.

gusarg81 commented 4 years ago

We are in 2020 and still no response. Keep it up!

NicoLiendro14 commented 3 years ago

We are in 2020 and still no response. Keep it up!

Olvidate, Argentina papa!

gusarg81 commented 3 years ago

We are in 2020 and still no response. Keep it up!

Olvidate, Argentina papa!

Y si, que podemos esperar de la gente que abusa de su "poder" en este país de cuarta. Y Mercado Libre no se queda atrás, haciendo la vida imposible tanto a vendedores como a compradores. No podemos esperar mucho tampoco de quién mantiene esta API que realiza cambios absolutos inclusive sin notificar/documentar absolutamente nada, un soldadito más en la fila.

Y encima se creen que son impunes. Un día se les vá a acabar el chorro...