http://localhost:8080/secretaryRoom
http://localhost:8080/bossRoom
http://localhost:8080/rest/secretaryRoom
http://localhost:8080/rest/bossRoom
User | Password | Hall | Secretary Room | Boss Room |
---|---|---|---|---|
anonimous | X | |||
Lesha | 12345 | X | X | X |
Masha | 12345 | X | X | |
Dasha | 12345 | X | X |
to get token: http://localhost:8080/rest/auth?username={XXX}&password={YYY} (for example http://localhost:8080/rest/auth?username=Lesha&password=12345 )
to get resource: http://localhost:8080/rest/{resource}?token={token} (for example http://localhost:8080/rest/bossRoom?token=EKOSBCKE3CXHA61Y )