上传图片获得url
方法: POST路径: /mj/submit/upload-discord-images
请求参数
Header 参数
text
Authorization
string
可选
默认值:
Bearer {{YOUR_API_KEY}}Body 参数 application/json
text
base64Array
array
[string]
必需
示例
{
"base64Array"
:
[
"string"
]
}请求示例代码
Shell
bash
curl --location --request POST '/mj/submit/upload-discord-images' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"base64Array": [
"string"
]
}'返回响应
🟢 200 OK
内容类型: application/json
响应结构
text
code
integer
必需
description
string
必需
result
array
[string]
必需
properties
object
必需示例
json
{
"code": 1,
"description": "提交成功",
"result": [
"https://mj.fonedis.cc/attachments/20250513/ae209a15b380495087f555e0ba302286.png"
],
"properties": {}
}