• 2022-05-28
    服务器程序可以接受get与post的提交信息importflaskapp=flask.Flask(__name__)@app.route("/",____________________)defindex():try:province=flask.request.values.get("province")returnprovinceexceptExceptionaserr:returnstr(err)if__name__=="__main__":app.run()缺失的语句是
    A: methods=["GET","POST"]
    B: method=["GET","POST"]
    C: methods=["POST"]
    D: method=["POST"]
  • 举一反三