@app.route("/api/v1/users/create", methods=['GET', 'POST'])
@cross_origin(allow_headers=['Content-Type'])
def cross_origin_json_post():

    return jsonify(success=True)
This view has CORS enabled for all domains, and allows browsers
dataset/ETHPy150Open corydolphin/flask-cors/examples/view_based_example.py/cross_origin_json_post