I\'m having trouble getting data POSTed from jquery ajax.
$(\'#clickme\').click( function() { var data = save_input(); // data data[\'_sid\'] = $sur
On the flask side, use:
data = request.get_json()
The variable data now has the dictionary you sent using ajax and you can now manipulate it with python