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,9 @@
# Secrets
.env*
# Dependencies
node_modules
# OS files
.DS_Store
Thumbs.db
+21
View File
@@ -0,0 +1,21 @@
info:
name: "1"
type: http
seq: 1
http:
method: GET
url: https://pokeapi.co/api/v2/pokemon/pikachu
params:
- name: ""
value: ""
type: query
description: Получить покемона по имени (GET)
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
+16
View File
@@ -0,0 +1,16 @@
info:
name: "2"
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
+23
View File
@@ -0,0 +1,23 @@
info:
name: "3"
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
+16
View File
@@ -0,0 +1,16 @@
info:
name: "4"
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
+24
View File
@@ -0,0 +1,24 @@
info:
name: "5"
type: http
seq: 5
http:
method: GET
url: |-
POST https://jsonplaceholder.typicode.com/posts
Content-Type: application/json
{
"title": "Мой первый покемон",
"body": "Поймал Пикачу!",
"userId": 1
}
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