This commit is contained in:
2026-11-26 14:14:05 +03:00
parent bc9b5d33b5
commit 8d8cc5a55c
44 changed files with 49 additions and 7 deletions
@@ -0,0 +1,39 @@
info:
name: delete /pokemons/:id
type: http
seq: 6
tags:
- PokedexApi1
http:
method: DELETE
url: "{{baseUrl}}/pokemons/:id"
params:
- name: id
value: ""
type: path
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
examples:
- name: 200 Response
description: OK
request:
url: "{{baseUrl}}/pokemons/:id"
method: DELETE
params:
- name: id
value: ""
type: path
response:
status: 200
statusText: OK
body:
type: text
data: ""
@@ -0,0 +1,6 @@
info:
name: PokedexApi1
type: folder
request:
auth: inherit
@@ -0,0 +1,34 @@
info:
name: get /hello
type: http
seq: 1
tags:
- PokedexApi1
http:
method: GET
url: "{{baseUrl}}/hello"
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
examples:
- name: 200 Response
description: OK
request:
url: "{{baseUrl}}/hello"
method: GET
response:
status: 200
statusText: OK
headers:
- name: Content-Type
value: text/plain
body:
type: text
data: ""
@@ -0,0 +1,39 @@
info:
name: get /pokemons/:id
type: http
seq: 4
tags:
- PokedexApi1
http:
method: GET
url: "{{baseUrl}}/pokemons/:id"
params:
- name: id
value: ""
type: path
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
examples:
- name: 200 Response
description: OK
request:
url: "{{baseUrl}}/pokemons/:id"
method: GET
params:
- name: id
value: ""
type: path
response:
status: 200
statusText: OK
body:
type: text
data: ""
@@ -0,0 +1,31 @@
info:
name: get /pokemons
type: http
seq: 2
tags:
- PokedexApi1
http:
method: GET
url: "{{baseUrl}}/pokemons"
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
examples:
- name: 200 Response
description: OK
request:
url: "{{baseUrl}}/pokemons"
method: GET
response:
status: 200
statusText: OK
body:
type: text
data: ""
@@ -0,0 +1,47 @@
info:
name: post /pokemons
type: http
seq: 3
tags:
- PokedexApi1
http:
method: POST
url: "{{baseUrl}}/pokemons"
body:
type: json
data: |-
{
"name": "",
"type": "",
"level": ""
}
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
examples:
- name: 200 Response
description: OK
request:
url: "{{baseUrl}}/pokemons"
method: POST
body:
type: json
data: |-
{
"name": "",
"type": "",
"level": ""
}
response:
status: 200
statusText: OK
body:
type: text
data: ""
@@ -0,0 +1,55 @@
info:
name: put /pokemons/:id
type: http
seq: 5
tags:
- PokedexApi1
http:
method: PUT
url: "{{baseUrl}}/pokemons/:id"
params:
- name: id
value: ""
type: path
body:
type: json
data: |-
{
"name": "",
"type": "",
"level": ""
}
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
examples:
- name: 200 Response
description: OK
request:
url: "{{baseUrl}}/pokemons/:id"
method: PUT
params:
- name: id
value: ""
type: path
body:
type: json
data: |-
{
"name": "",
"type": "",
"level": ""
}
response:
status: 200
statusText: OK
body:
type: text
data: ""
@@ -0,0 +1,4 @@
name: local
variables:
- name: baseUrl
value: http://localhost:5104
@@ -0,0 +1,10 @@
opencollection: 1.0.0
info:
name: PokedexApi1 | v1
bundled: false
extensions:
bruno:
ignore:
- node_modules
- .git