multipart data POST using python requests: no multipart boundary was found

You should NEVER set that header yourself. We set the header properly with the boundary. If you set that header, we won’t and your server won’t know what boundary to expect (since it is added to the header). Remove your custom Content-Type header and you’ll be fine.

Leave a Comment