Tidied up Bruno files.
This commit is contained in:
@@ -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