GET /api/v1/users/me HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"code": "text",
"message": "text",
"data": {
"id": 1,
"email": "name@gmail.com",
"role": "USER"
}
}PUT /api/v1/users/me HTTP/1.1
Host: localhost:8080
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 22
{
"displayName": "text"
}{
"code": "text",
"message": "text",
"data": {
"id": 1,
"email": "name@gmail.com",
"role": "USER"
}
}