Задание 1

This commit is contained in:
2026-10-15 17:40:09 +03:00
parent a4720b9f34
commit 3ce874af8e
11 changed files with 83 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
# Secrets
.env*
# Dependencies
node_modules
# OS files
.DS_Store
Thumbs.db
+36
View File
@@ -0,0 +1,36 @@
info:
name: Create_Post
type: http
seq: 2
http:
method: POST
url: https://jsonplaceholder.typicode.com/posts
headers:
- name: Content-Type
value: application/json
body:
type: json
data: |-
{
"title": "Мой первый покемон",
"body": "Поймал Пикачу!",
"userId": 1
}
auth: inherit
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5
forwardAuthorizationHeader: false
docs: |-
**post** `https://jsonplaceholder.typicode.com/posts`
<br/>
Данный запрос отправляет на <http://jsonplaceholder.typicode.com>
[на под раздел post и ](http://jsonplaceholder.typicode.com)
+6
View File
@@ -0,0 +1,6 @@
namespace DefaultNamespace;
public class Program
{
}
+16
View File
@@ -0,0 +1,16 @@
info:
name: Untitled
type: http
seq: 1
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,10 @@
opencollection: 1.0.0
info:
name: gcn_lab1_api
bundled: false
extensions:
bruno:
ignore:
- node_modules
- .git
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
{"count":1351,"next":"https://pokeapi.co/api/v2/pokemon?offset=5&limit=5","previous":null,"results":[{"name":"bulbasaur","url":"https://pokeapi.co/api/v2/pokemon/1/"},{"name":"ivysaur","url":"https://pokeapi.co/api/v2/pokemon/2/"},{"name":"venusaur","url":"https://pokeapi.co/api/v2/pokemon/3/"},{"name":"charmander","url":"https://pokeapi.co/api/v2/pokemon/4/"},{"name":"charmeleon","url":"https://pokeapi.co/api/v2/pokemon/5/"}]}