When you need to receive form fields instead of JSON, you can use Form . ... from fastapi import FastAPI, Form app = FastAPI() @app.post("/login/") async ...
確定! 回上一頁