Doing my first try at some AJAX code with web.py. I render a grid of checkboxes (some on, some off). Then, when any checkbox is checked or unchecked, it immediately sends that checkbox ID/status to a POST via AJAX.
I have found that, if I leave the `@csrf_protected` line before the `def POST(self):` line, the call results in a status=400 error. Is there some obvious thing I need to do, like have my AJAX call read the CSRF cookie and include it in the POST? As I write this, I guess I have a vector to investigate, but figure if someone else already has solved this it beats me banging my head this one extra time... :) -- You received this message because you are subscribed to the Google Groups "web.py" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/webpy. For more options, visit https://groups.google.com/groups/opt_out.
