forked from gavvvr/obsidian-imgur-plugin
-
Notifications
You must be signed in to change notification settings - Fork 34
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
请求添加PicList的跨电脑上传支持 #113
Comments
其实是我提的issue,还没做完适配,还要个几天 |
一开始就发现是你提的了 反向提回来 哈哈哈 😆 |
修改了下逻辑,现在config字段不明文返回了,而是在服务端做加密后返回,密钥可以由用户设置,另外接口保持了兼容,不需要做额外改动 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
根据 Kuingsmile/PicList#103 目前PicList和PicList-Core都已经支持了表单上传feature,使用方式为
content-type
设置为multipart/form-data
,表单字段目前可任意设置,但推荐为files
,返回值与原接口相同。目前直接跨电脑使用时,由于还是通过传
list
字段的文件路径发送请求,或者不带body体默认上传剪贴板文件,都会失败报错,应该可以判断接口host,不是127.0.0.1
的时候,采用表单上传来进行适配,从而支持跨电脑上传。The text was updated successfully, but these errors were encountered: