You can define Cookie parameters the same way you define Query and Path ... Optional from fastapi import Cookie, FastAPI app = FastAPI() @app.get("/items/") ...
確定! 回上一頁