This commit is contained in:
Waylon S. Walker 2024-10-21 08:27:28 -05:00
parent e334e711cc
commit feb21a4292
7 changed files with 207 additions and 3 deletions

View file

@ -10,6 +10,12 @@ run:
run-workers:
uv run -- uvicorn --workers 6 --log-level debug src.fastapi_dynamic_response.main:app
get-authorized:
http GET :8000/example 'Authorization:Basic user1:password123'
get-admin:
http GET :8000/example 'Authorization:Basic user2:securepassword'
get:
http GET :8000/example