前后端分离:
1、get方式:
items = dict(request.args.items())
app_name = items["app_name"].strip()
或
appn_ame = request.args.get("app_name") | appn_ame = request.args["app_name"]
2、post方式:
data = request.get_json()
clickurl = data["clickurl"]
form或者postman传参:
1、get方式:
items = dict(request.args.items())
app_name = items["app_name"].strip()
或
appn_ame = request.args.get("app_name") | appn_ame = request.args["app_name"]
2、post方式:
username = request.form.get("username") | request.form["username"]