B
B
B1ackGh0st2016-03-23 10:28:46
Python
B1ackGh0st, 2016-03-23 10:28:46

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

1 answer(s)
A
Alexey Cheremisin, 2016-03-23
@B1ackGh0st

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 question

Ask a Question

731 491 924 answers to any question