We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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参数可以输入管理员账号,无限制上传
The text was updated successfully, but these errors were encountered:
好的,这个可以考虑。
Sorry, something went wrong.
😂新手借个issue问一下,现在的API请求参数是只有一个file吗? 总是返回 {"code":0,"msg":"You did not select a file to upload."} 是哪里出错了呀?
file
{"code":0,"msg":"You did not select a file to upload."}
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上传就完美了!
No branches or pull requests
希望增加api参数可以输入管理员账号,无限制上传
The text was updated successfully, but these errors were encountered: