Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

upload video #104

@quanjin9099

Description

@quanjin9099

https://apidocs.imgur.com/#c85c9dfc-7487-4de2-9ecd-66f727cf3139
The parameters I set are
config = {
'album': None,
'name': '123',
'title': '123',
'disable_audio': 0,
'description': '124'
}

data = {
'video': fd.read(),
'type': 'file',
}

then call
self.make_request('POST', 'upload', data, anon)

but return 400

How should I upload the video?

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