Sync fastapi docs from 50fa3f7c on 2026-01-11
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
from fastapi import FastAPI, Form
|
||||
from typing_extensions import Annotated
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
||||
@app.post("/login/")
|
||||
async def login(username: Annotated[str, Form()], password: Annotated[str, Form()]):
|
||||
return {"username": username}
|
||||
Reference in New Issue
Block a user