Posting image to thumbor using requests package

By | May 13, 2016

Seems like there are not many code sample there, and the requests documentation was giving the wrong hint to use files={'file': open('image.jpg')} which you will end up getting 415 response code.

I think I will just share my working sample code here to save someone’s time

 

Leave a Reply

Your email address will not be published. Required fields are marked *