# 筛选图床

多地 PING 进行网站测速

测试图床:https://tc.mofashi.ltd/index.php

image-20250117185510640

# PicGo

下载 PicGo:https://molunerfinn.com/PicGo/

修改配置

image-20250117185811390

安装后 ——> 选择插件设置 ——> 搜索 web-upload (可能其他插件也能实现,不局限这个插件)

image-20250117190629899

安装插件后 ——> 添加配置

image-20250117190743420

注册图床,获取图床 上传图片API用户tokenhttps://tc.mofashi.ltd/index.php/api

image-20250117191741420

image-20250117191806568

使用接口测试工具 Apifox (其他接口测试软件也可)进行 POST 请求,获取 token

image-20250117192131457

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":"你的密码"}'

填入 APItoken

image-20250117191158699

图床配置名:魔法师
API 地址:https://tc.mofashi.ltd/api/v1/upload
POST 参数名:file
JSON 路径:data.links.url
自定义请求头:{"Authorization":"Bearer 你的 token"}

测试成功

image-20250117192952776