/
lexalexuss
/
Fast-API-Note-Service
Обзор
Документация
Войти
/
lexalexuss
/
Fast-API-Note-Service
Код
Запросы
0
Задачи
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Notes API.postman_collection.json
169 строк
3 KB
Alexey
first_commit
18 сен 2024, 14:49
18 сен 2024, 14:49
b1e3ffd
Код
Авторство
О чём код?
{ "info": { "_postman_id": "f873dcb8-c397-49f2-a631-7dfe90a344eb", "name": "Notes API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "38403095" }, "item": [ { "name": "Add Note", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "user1", "type": "string" }, { "key": "password", "value": "password1", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"title\": \"My First Note\",\n \"content\": \"This is the content of the note\"\n}" }, "url": { "raw": "http://localhost:8000/notes/", "protocol": "http", "host": [ "localhost" ], "port": "8000", "path": [ "notes", "" ] } }, "response": [] }, { "name": "Speller test", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "password1", "type": "string" }, { "key": "username", "value": "user1", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "type": "default" } ], "body": { "mode": "raw", "raw": "{\r\n \"content\": \"Всм превет, миня завут Аликсей.\"\r\n}" }, "url": { "raw": "http://localhost:8000/notes/", "protocol": "http", "host": [ "localhost" ], "port": "8000", "path": [ "notes", "" ] } }, "response": [] }, { "name": "Get All Notes", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "user1", "type": "string" }, { "key": "password", "value": "password1", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://localhost:8000/notes/", "protocol": "http", "host": [ "localhost" ], "port": "8000", "path": [ "notes", "" ] } }, "response": [] }, { "name": "Auth test", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "pass", "type": "string" }, { "key": "username", "value": "user1", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "http://localhost:8000/notes/", "protocol": "http", "host": [ "localhost" ], "port": "8000", "path": [ "notes", "" ] } }, "response": [] } ] }