Tidied up Bruno files.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user