-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
api管理员身份上传 #57
Labels
Comments
好的,这个可以考虑。 |
😂新手借个issue问一下,现在的API请求参数是只有一个 import requests
url = 'https://imgurl.org/api/upload/url'
img_path = '/Users/cathy/Desktop/que-14136851099.jpeg'
image = open(img_path, 'rb') #是这一行不对吗
data = {'file': image} #还是这一行?
response = requests.post(url = url, data = data)
print(response.text) |
同求,API好像只支持游客上传 |
同希望支持,这对从其他平台迁移到imgurl的自动化工作非常重要,否则只能一个一个操作,实在太难受。如果能支持通过接口基于图片URL上传就完美了! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
希望增加api参数可以输入管理员账号,无限制上传
The text was updated successfully, but these errors were encountered: