526互联
首页
Ai
Java
Python
Android
Mysql
JavaScript
Html
CSS
api_route
FastAPI学习-27 使用@app.api_route() 设置多种请求方式
对同一个访问函数设置多个http 请求方式 api_route 使用 使用methods 参数设置请求方式 from fastapi import FastAPI app = FastAPI() @app.api_route('/demo/b', methods=['get', 'post']) a ......
api_route
多种
FastAPI
方式
route
更新时间 2023-10-07
共1篇 :1/1页
首页
上一页
1
下一页
尾页