在FastAPI中通过 UploadFile 上传文件的具体案例中,媒体类型是 multipart/form-data ,因此需要将其添加到网关的 binaryMediaTypes 配置中。
確定! 回上一頁