Added API Tests
This commit is contained in:
21
API Tests/BGApp/Players/Create.yml
Normal file
21
API Tests/BGApp/Players/Create.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
info:
|
||||
name: Create
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: http://localhost:3000/api/player
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"name": "Invited player2"
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
Reference in New Issue
Block a user