Skip to content
Advertisement

Tag: cors

flask socketio CORS

I’ve been trying to send data from flask over socket io. I need to access this data from a different origin, but it is giving a CORS error. I have tried using all kinds of cross origin stuff and none of it has worked. Can somebody help with this. The view that should be called thought socket io: Running the

Access-Control-Allow-Origin in Django app

I’m developing a Phonegap app for my Django based app, but when trying to make Ajax calls I get this error: How can I make it so my Django app allows cross origin for some urls? Here’s my Ajax code: Answer Django by default does not provide the headers necessary to provide cross origin. The easiest way would be to

Advertisement