Hello I've just detected that we get the error :
"Input is not a valid dict"
when posting with requests.post with a files attribute.
the file attribute will force the request as a multipart formencoded, so the data will be json stringified.
I've created a pull request for handling this behavior.
#20