{
// 本地路径
"file": "D:/a.jpg"
// 网络路径
// "file": "http://i0.hdslb.com/bfs/archive/c8fd97a40bf79f03e7b76cbc87236f612caef7b2.png"
// "file": "base64 或 DataURL"
}
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"
}