使用 Cloudflare Workers 搭建 CORS Proxy
使用示例:
curl -X POST https://smms-proxy.duzhuo.icu \
-H "Content-Type: multipart/form-data" \
-H "Authorization: Basic {你的api_key}" \
-F "smfile=@{你的图片路径}" \
-F "format=json"
curl -X GET https://smms-proxy.duzhuo.icu/delete/{图片hash} \
-H "Authorization: Basic {你的api_key}"