Added API Tests
This commit is contained in:
26
API Tests/BGApp/User/Update.yml
Normal file
26
API Tests/BGApp/User/Update.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
info:
|
||||
name: Update
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: PATCH
|
||||
url: http://localhost:3000/api/user/:id
|
||||
params:
|
||||
- name: id
|
||||
value: ""
|
||||
type: path
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"isActive": true,
|
||||
"isAdmin": false
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
Reference in New Issue
Block a user