fastapi #348
Unanswered
wanghaisheng
asked this question in
Q&A
fastapi
#348
Replies: 2 comments
-
这样还是不对。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
参考这部分文档: https://pywebio.readthedocs.io/zh_CN/latest/advanced.html#integration-with-web-framework |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
整个app我是这么启动的
uvicorn main:app --port=$PORT
fastapi的路由@app.get("/sitemap/", response_class=ORJSONResponse)
这个已经是好的 相当于api
目前我想在/ 再做一个页面,演示api的功能,简单的输入提交 结果展示在页面上 而不是像api一样返回json
是不是要再外面套一层flask app
@wang0618
Beta Was this translation helpful? Give feedback.
All reactions