Hello
I have embedded a bokeh slider into a flask template, and would like to send a POST Ajax request within its callback.
However that seems to infringe the same-origin policy, even if it all is happening on localhost. (see here and here for details of the issue).
Any clue why is that, and if it could be solved? Thanks
Code snippet from the slider’s callback:
$.ajax({
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',
});
