第一次提交

This commit is contained in:
2025-06-27 20:20:51 +08:00
commit 33f86752de
153 changed files with 6743 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
from fastapi import APIRouter, Response
router = APIRouter()
@router.get("/hello")
def hello(response: Response):
response.set_cookie(key="cookie1", value="value1")
return {"message": "Hello, FastAPI with CORS!"}