Tidied up Bruno files.

This commit is contained in:
jd
2026-02-21 17:56:28 +00:00
parent 407043c5be
commit ed942060a2
28 changed files with 256 additions and 95 deletions

View File

@@ -5,17 +5,26 @@ info:
http:
method: POST
url: http://localhost:3000/api/user
url: "{{BASE_URL}}/api/user"
body:
type: json
data: |-
{
"email": "Test User",
"password": "Test123",
"playerId": "enRe"
"email": "{{Email}}",
"password": "{{Password}}",
"playerId": "{{PlayerID}}"
}
auth: inherit
runtime:
variables:
- name: Email
value: ""
- name: Password
value: ""
- name: PlayerID
value: ""
settings:
encodeUrl: true
timeout: 0

View File

@@ -5,13 +5,14 @@ info:
http:
method: DELETE
url: http://localhost:3000/api/user/:id
params:
- name: id
value: ""
type: path
url: "{{BASE_URL}}/api/user/{{UserID}}"
auth: inherit
runtime:
variables:
- name: UserID
value: ""
settings:
encodeUrl: true
timeout: 0

View File

@@ -5,13 +5,14 @@ info:
http:
method: GET
url: http://localhost:3000/api/user/:id
params:
- name: id
value: ejRe
type: path
url: "{{BASE_URL}}/api/user/{{UserID}}"
auth: inherit
runtime:
variables:
- name: UserID
value: ""
settings:
encodeUrl: true
timeout: 0

View File

@@ -5,20 +5,28 @@ info:
http:
method: PATCH
url: http://localhost:3000/api/user/:id
params:
- name: id
value: ""
type: path
url: "{{BASE_URL}}/api/user/{{UserID}}"
body:
type: json
data: |-
{
"isActive": true,
"isAdmin": false
"isActive": {{IsActive}},
"isAdmin": {{IsAdmin}},
"email": "{{Email}}"
}
auth: inherit
runtime:
variables:
- name: UserID
value: ""
- name: IsActive
value: ""
- name: IsAdmin
value: ""
- name: Email
value: ""
settings:
encodeUrl: true
timeout: 0