Py学习  »  Jochem Schulenklopper Amit Kar  »  全部回复
回复总数  1
7 年前
回复了 Jochem Schulenklopper Amit Kar 创建的主题 » 使用python flask读取多个文件[重复]

Flask还有另一个JSON的快捷方式:

标题:

{Content-Type: application/json}

@app.route("/something", methods=["POST"])
def do_something():
    data = request.get_json()