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

upload video #104

Open
quanjin9099 opened this issue Jun 5, 2023 · 0 comments
Open

upload video #104

quanjin9099 opened this issue Jun 5, 2023 · 0 comments

Comments

@quanjin9099
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant