Skip to content

"Input is not a valid dict" when posting to a model with file attribute #21

@GuillaumeCisco

Description

@GuillaumeCisco

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions