# 筛选图床
多地 PING 进行网站测速
# PicGo
下载 PicGo:https://molunerfinn.com/PicGo/
修改配置
安装后 ——> 选择插件设置 ——> 搜索 web-upload
(可能其他插件也能实现,不局限这个插件)
安装插件后 ——> 添加配置
注册图床,获取图床 上传图片API
和 用户token
:https://tc.mofashi.ltd/index.php/api
使用接口测试工具 Apifox
(其他接口测试软件也可)进行 POST 请求,获取 token
curl --location --request POST 'https://tc.mofashi.ltd/api/v1/tokens' \ | |
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \ | |
--header 'Content-Type: application/json' \ | |
--header 'Accept: */*' \ | |
--header 'Host: tc.mofashi.ltd' \ | |
--header 'Connection: keep-alive' \ | |
--header 'Cookie: sl-session=ejzqZ4qOi2dBEGpCnaiZog==' \ | |
--data-raw '{"email":"你的邮箱","password":"你的密码"}' |
填入 API
和 token
图床配置名:魔法师 | |
API 地址:https://tc.mofashi.ltd/api/v1/upload | |
POST 参数名:file | |
JSON 路径:data.links.url | |
自定义请求头:{"Authorization":"Bearer 你的 token"} |
测试成功