From cf9a5c6dbe97677038e49e3a9876683d0e0e831c Mon Sep 17 00:00:00 2001 From: Phan Huy Tran Date: Wed, 23 Apr 2025 10:20:07 +0200 Subject: [PATCH] chore: delete sadly deceased http requests --- backend/requests/blackjack.http | 20 -------------------- backend/requests/getBearerToken.http | 6 ------ backend/requests/healthCheck.http | 1 - backend/requests/lootboxes.http | 9 --------- backend/requests/user.http | 27 --------------------------- backend/requests/webhook.http | 1 - 6 files changed, 64 deletions(-) delete mode 100644 backend/requests/blackjack.http delete mode 100644 backend/requests/getBearerToken.http delete mode 100644 backend/requests/healthCheck.http delete mode 100644 backend/requests/lootboxes.http delete mode 100644 backend/requests/user.http delete mode 100644 backend/requests/webhook.http diff --git a/backend/requests/blackjack.http b/backend/requests/blackjack.http deleted file mode 100644 index 21dd35e..0000000 --- a/backend/requests/blackjack.http +++ /dev/null @@ -1,20 +0,0 @@ -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}} - diff --git a/backend/requests/getBearerToken.http b/backend/requests/getBearerToken.http deleted file mode 100644 index 791c3a2..0000000 --- a/backend/requests/getBearerToken.http +++ /dev/null @@ -1,6 +0,0 @@ -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&scope=openid - -> {% client.global.set("token", response.body.access_token); %} \ No newline at end of file diff --git a/backend/requests/healthCheck.http b/backend/requests/healthCheck.http deleted file mode 100644 index 4be46b5..0000000 --- a/backend/requests/healthCheck.http +++ /dev/null @@ -1 +0,0 @@ -GET localhost:8080/health \ No newline at end of file diff --git a/backend/requests/lootboxes.http b/backend/requests/lootboxes.http deleted file mode 100644 index 9059570..0000000 --- a/backend/requests/lootboxes.http +++ /dev/null @@ -1,9 +0,0 @@ -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 \ No newline at end of file diff --git a/backend/requests/user.http b/backend/requests/user.http deleted file mode 100644 index b594398..0000000 --- a/backend/requests/user.http +++ /dev/null @@ -1,27 +0,0 @@ -### 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}} - -{ - "authentikId": "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 -} \ No newline at end of file diff --git a/backend/requests/webhook.http b/backend/requests/webhook.http deleted file mode 100644 index 8fa7f26..0000000 --- a/backend/requests/webhook.http +++ /dev/null @@ -1 +0,0 @@ -POST localhost:8080/webhook