Skip to content

Upload files throught POST. #31

@nilp0inter

Description

@nilp0inter

Hi,

Is it possible to upload a file using the POST method of the resources?

Something like:

myapi.myresource.post(params={'foo': 1},
                      data=open('bar.raw', 'r').read())

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions