I\'m having trouble getting data POSTed from jquery ajax.
$(\'#clickme\').click( function() { var data = save_input(); // data data[\'_sid\'] = $sur
Have you tried remove contentType? You suppose to post data to Flask.
could you try add fake data like
data:{"hello":"world"} inside ajax? just to check if the hello world arrive to request.form