OK
GET /users/photo HTTP/1.1
Host: api
Accept: */*
OK
No content
OK
POST /users/photo HTTP/1.1
Host: api
Content-Type: multipart/form-data
Accept: */*
Content-Length: 11
{
"file": {}
}
OK
{
"code": 1,
"message": "text",
"data": true,
"success": true
}
OK
DELETE /users/photo HTTP/1.1
Host: api
Accept: */*
OK
{
"code": 1,
"message": "text",
"data": {},
"success": true
}
OK
GET /users/photo/{userId} HTTP/1.1
Host: api
Accept: */*
OK
No content