18 lines
432 B
HTTP
18 lines
432 B
HTTP
### Get User by ID
|
|
GET http://localhost:8080/user/52cc0208-a3bd-4367-94c5-0404b016a003
|
|
Authorization: Bearer {{token}}
|
|
|
|
### Get current user with token
|
|
GET http://localhost:8080/user
|
|
Authorization: Bearer {{token}}
|
|
|
|
### Create User
|
|
POST http://localhost:8080/user
|
|
Content-Type: application/json
|
|
Authorization: Bearer {{token}}
|
|
|
|
{
|
|
"keycloakId": "52cc0208-a3bd-4367-94c5-0404b016a003",
|
|
"username": "john.doe"
|
|
}
|
|
|