How to get input form without reloading from HTML to flask?

Solution


  
    
  
  
    
{% for k,v in projectArray.typeOfInput.items() %} {% endfor %}
@app.route('/execute', methods=['POST'])
def execute():
    print(request.json)
    return jsonify(msg='success')