简体中文
Update user avatar
cURL
curl --request PATCH \ --url http://127.0.0.1:3000/api/user/avatar \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successfully update.
此页面对您有帮助吗?