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