设置头像
POST
/set_qq_avatar
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/set_qq_avatar' \
--header 'Content-Type: application/json' \
--data-raw '{
// 本地路径
"file": "D:/a.jpg"
// 网络路径
// "file": "http://i0.hdslb.com/bfs/archive/c8fd97a40bf79f03e7b76cbc87236f612caef7b2.png"
// "file": "base64 或 DataURL"
}'
响应示例响应示例
{
"status": "ok",
"retcode": 0,
"data": null,
"message": "string",
"wording": "string",
"echo": "string"
}
请求参数
Body 参数application/json