This commit is contained in:
zxc
2026-10-16 14:40:59 +03:00
parent 27b9ffcc28
commit 26b36ff4ec
9 changed files with 145 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
# Secrets
.env*
# Dependencies
node_modules
# OS files
.DS_Store
Thumbs.db
@@ -0,0 +1,16 @@
info:
name: Untitled
type: http
seq: 1
http:
method: GET
url: ""
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
@@ -0,0 +1,10 @@
opencollection: 1.0.0
info:
name: Lab1 — PokeAPI
bundled: false
extensions:
bruno:
ignore:
- node_modules
- .git
@@ -0,0 +1,16 @@
info:
name: Информация о типе (Electric)
type: http
seq: 4
http:
method: GET
url: https://pokeapi.co/api/v2/type/electric
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
@@ -0,0 +1,16 @@
info:
name: Несуществующий покемон (Ошибка 404)
type: http
seq: 6
http:
method: GET
url: https://pokeapi.co/api/v2/pokemon/unknown-pokemon-xyz
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
@@ -0,0 +1,16 @@
info:
name: Создать пост
type: http
seq: 5
http:
method: POST
url: https://jsonplaceholder.typicode.com/posts
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
@@ -0,0 +1,23 @@
info:
name: Список покемонов (Бонус — смещение)
type: http
seq: 7
http:
method: GET
url: https://pokeapi.co/api/v2/pokemon?limit=3&offset=10
params:
- name: limit
value: "3"
type: query
- name: offset
value: "10"
type: query
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
@@ -0,0 +1,23 @@
info:
name: Список покемонов (пагинация)
type: http
seq: 3
http:
method: GET
url: https://pokeapi.co/api/v2/pokemon?limit=5&offset=0
params:
- name: limit
value: "5"
type: query
- name: offset
value: "0"
type: query
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
@@ -0,0 +1,16 @@
info:
name: получить покемона по ID
type: http
seq: 2
http:
method: GET
url: https://pokeapi.co/api/v2/pokemon/25
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false