Initial commit

This commit is contained in:
Евгений Титаренко 2023-11-30 21:01:57 +03:00
commit 8b18f2439c
13 changed files with 960 additions and 0 deletions

31
test_main.http Normal file
View file

@ -0,0 +1,31 @@
# Test your FastAPI endpoints
GET http://127.0.0.1:8000/test
Accept: application/json
###
POST http://127.0.0.1:8000/login
Content-Type: application/json
{
"username": "test",
"password": "test"
}
###
POST http://127.0.0.1:8000/login
Content-Type: application/x-www-form-urlencoded
username=test &password=test
###
POST http://127.0.0.1:8000/login
Content-Type: application/x-www-form-urlencoded
{
"username": "test",
"password": "test"
}