27 lines
No EOL
611 B
HTTP
27 lines
No EOL
611 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"
|
|
}
|
|
|
|
### Deposit
|
|
POST http://localhost:8080/deposit/checkout
|
|
Content-Type: application/json
|
|
Origin: http://localhost:8080
|
|
Authorization: Bearer {{token}}
|
|
|
|
{
|
|
"amount": 60.12
|
|
} |