Initial commit
This commit is contained in:
commit
8b18f2439c
13 changed files with 960 additions and 0 deletions
31
test_main.http
Normal file
31
test_main.http
Normal 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"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue