Sync fastapi docs from 11614be9 on 2026-03-11
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from typing import Annotated
|
||||
|
||||
from fastapi import FastAPI, Form
|
||||
|
||||
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