I have embedded a bokeh slider into a flask template, and would like to send a POST Ajax request within its callback.
Any clue why is that, and if it could be solved? Thanks
Code snippet from the slider’s callback:
type: 'POST', contentType: 'application/json', url: "http://127.0.0.1:5000/server_calculations", data: slider_value, //this is simply the value of the slider's position dataType: 'json',