annot-server/webapp/views.py
changeset 28 6025b8470d18
parent 22 986ee928a866
child 42 926f0426ce78
equal deleted inserted replaced
27:68b29e36c9a2 28:6025b8470d18
    21 @app.route('/annotationclient')
    21 @app.route('/annotationclient')
    22 def page_annotationclient():
    22 def page_annotationclient():
    23     return render_template('annotationclient.html', logging=True)
    23     return render_template('annotationclient.html', logging=True)
    24 
    24 
    25 
    25 
       
    26 @app.route('/pianoroll')
       
    27 def page_pianoroll():
       
    28     return render_template('pianoroll.html', logging=True)
       
    29 
       
    30 
    26 @app.route('/api/test', methods=['PUT', 'POST'])
    31 @app.route('/api/test', methods=['PUT', 'POST'])
    27 def new():
    32 def new():
    28     return jsonify(request.get_json(force=False))
    33     return jsonify(request.get_json(force=False))