1.python接收get请求里的参数 req = request.args.get('xxx') 2.python接收post请求里的参数 req = request.form.get('xxx') 3从前端获取json数据 from flask import request import json data=json.loads(request.get_data())