09 2020 档案

摘要:参考文章:https://www.jb51.net/article/165205.htm 其中需要注意的是单独Blueprints配置 bp = Blueprint("task", __name__) CORS(bp,supports_credentials=True) #注意添加supports_ 阅读全文
posted @ 2020-09-24 17:59 只会玩辅助 阅读(154) 评论(0) 推荐(0)
摘要:一、get请求 页面请求地址:http://127.0.0.1:5000/test/5?username=test 视图函数接口路径:/test/<int:id> postman传递参数:使用GET请求方式传参 注意:既可以获取路径上的参数也可以获取postman传递的参数 二、post请求 页面请 阅读全文
posted @ 2020-09-04 10:12 只会玩辅助 阅读(3250) 评论(0) 推荐(0)