开发者社区 问答 正文

Flask实现接口的代码@app.route("/")是什么?

Flask实现接口的代码@app.route("/")是什么?

展开
收起
真的很搞笑 2021-11-06 23:09:14 750 分享 版权
1 条回答
写回答
取消 提交回答
  • @app.route("/"),定义了接口的URL,也就是路由配置,默认是GET方法。

    2021-11-06 23:09:31
    赞同 展开评论