Merge branch 'main' into feature/authentik
Some checks failed
Some checks failed
This commit is contained in:
commit
d7fe0e3965
56 changed files with 2782 additions and 602 deletions
20
backend/requests/blackjack.http
Normal file
20
backend/requests/blackjack.http
Normal file
|
@ -0,0 +1,20 @@
|
|||
POST http://localhost:8080/blackjack/start
|
||||
Authorization: Bearer {{token}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"betAmount": 1.01
|
||||
}
|
||||
|
||||
###
|
||||
POST http://localhost:8080/blackjack/54/hit
|
||||
Authorization: Bearer {{token}}
|
||||
|
||||
###
|
||||
POST http://localhost:8080/blackjack/202/stand
|
||||
Authorization: Bearer {{token}}
|
||||
|
||||
###
|
||||
GET http://localhost:8080/blackjack/202
|
||||
Authorization: Bearer {{token}}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
POST http://localhost:9090/realms/LF12/protocol/openid-connect/token
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
grant_type=password&client_id=lf12&username=lf12_test_user&password=secret
|
||||
grant_type=password&client_id=lf12&username=lf12_test_user&password=secret&scope=openid
|
||||
|
||||
> {% client.global.set("token", response.body.access_token); %}
|
9
backend/requests/lootboxes.http
Normal file
9
backend/requests/lootboxes.http
Normal file
|
@ -0,0 +1,9 @@
|
|||
GET http://localhost:8080/lootboxes
|
||||
Authorization: Bearer {{token}}
|
||||
Content-Type: application/json
|
||||
|
||||
###
|
||||
|
||||
POST http://localhost:8080/lootboxes/2
|
||||
Authorization: Bearer {{token}}
|
||||
Content-Type: application/json
|
Loading…
Add table
Add a link
Reference in a new issue