Besides your example returns a 200 response status code with a 404 (int) in the response body. A possible solution: from fastapi import FastAPI, status from ...
確定! 回上一頁