Tidied up Bruno files.
This commit is contained in:
@@ -5,15 +5,20 @@ info:
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: http://localhost:3000/api/game
|
||||
url: "{{BASE_URL}}/api/game"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"name": "Test Game3"
|
||||
"name": "{{Name}}"
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
variables:
|
||||
- name: Name
|
||||
value: ""
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
|
||||
@@ -5,13 +5,14 @@ info:
|
||||
|
||||
http:
|
||||
method: DELETE
|
||||
url: http://localhost:3000/api/game/:id
|
||||
params:
|
||||
- name: id
|
||||
value: bk5e
|
||||
type: path
|
||||
url: "{{BASE_URL}}/api/game/{{GameID}}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
variables:
|
||||
- name: GameID
|
||||
value: ""
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
|
||||
@@ -5,13 +5,14 @@ info:
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: http://localhost:3000/api/game/:id
|
||||
params:
|
||||
- name: id
|
||||
value: bk5e
|
||||
type: path
|
||||
url: "{{BASE_URL}}/api/game/{{GameID}}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
variables:
|
||||
- name: GameID
|
||||
value: ""
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
|
||||
@@ -5,13 +5,18 @@ info:
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: http://localhost:3000/api/game/search/:query
|
||||
params:
|
||||
- name: query
|
||||
value: game
|
||||
type: path
|
||||
url: "{{BASE_URL}}/api/game/search/{{Query}}/{{PageSize}}/{{Page}}"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
variables:
|
||||
- name: Query
|
||||
value: test
|
||||
- name: PageSize
|
||||
value: "2"
|
||||
- name: Page
|
||||
value: "2"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
|
||||
@@ -5,19 +5,22 @@ info:
|
||||
|
||||
http:
|
||||
method: PATCH
|
||||
url: http://localhost:3000/api/game/:id
|
||||
params:
|
||||
- name: id
|
||||
value: el5a
|
||||
type: path
|
||||
url: "{{BASE_URL}}/api/game/{{GameID}}"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"name":"Updated game"
|
||||
"name":"{{Name}}"
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
variables:
|
||||
- name: GameID
|
||||
value: ""
|
||||
- name: Name
|
||||
value: ""
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
|
||||
Reference in New Issue
Block a user