Xsolla-logo
  • 文档
  • 创建帐户

上传用户图片Client-side

post/users/me/picture

通过JWT上传已认证用户的个人资料图片。

SecurityBearer
Request
Request Body schema: multipart/form-data
picture
required
string <binary>

User's avatar file

Responses
200

确定

400

错误的请求

403

被禁止

404

未找到

415

未找到

Request samples
curl --request POST \
  --url https://login.xsolla.com/api/users/me/picture \
  --header 'Authorization: Bearer BEARER_TOKEN' \
  --header 'accept: multipart/form-data'
Response samples
application/json