Answer the question
In order to leave comments, you need to log in
Python Tornado. How to send a jQuery AJAX request correctly?
Hello.
Climbed from flaskera to tornado. and I can't send a correct ajax post request. Please give an example.
PS Read the documentation.
Answer the question
In order to leave comments, you need to log in
I suspect it's a caching issue. Anyway there is a demo - chat - https://github.com/tornadoweb/tornado/tree/stable/...
And be sure to check out how the work with xsrf in javascript is done - https://github.com/tornadoweb/tornado /blob/stable/...
PS, I generally transfer data through headers, then such an output did not come to my mind, but now I will not redo it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question