Because you did not post the csrfmiddlewaretoken, so Django forbid you.
this document can help you.
More Related Contents:
- How do I POST with jQuery/Ajax in Django?
- How do I catch an Ajax query post error?
- jQuery – Illegal invocation
- POST to server, receive PDF, deliver to user w/ jQuery
- Getting 400 bad request error in Jquery Ajax POST
- Django JQuery Ajax File Upload
- Reload table data in Django without refreshing the page
- Redirecting after AJAX post in Django
- Passing list of values to django view via jQuery ajax call
- JQuery: post FormData AND csrf token together
- How to submit form without refreshing page using Django, Ajax, jQuery?
- jQuery ajax upload with progress bar – no flash
- My Own Like Button: Django + Ajax — How?
- How do I post multiple parameters to a URL
- jQuery Ajax File Upload
- Jquery Ajax Posting JSON to webservice
- How can I convince IE to simply display application/json rather than offer to download it?
- jQuery Call to WebService returns “No Transport” error
- Fade in each element – one after another
- jQuery validator and a custom rule that uses AJAX
- jQuery CORS Content-type OPTIONS
- How to send request parameter array to servlet using jQuery $.ajax?
- How to set encoding in .getJSON jQuery
- replace div content using ajax and jquery
- jQuery – is it bad to have multiple $(document).ready(function() {});
- jQuery: Check if image exists
- “How” to save an entire collection in Backbone.js – Backbone.sync or jQuery.ajax?
- jQuery: Making simultaneous ajax requests, is it possible?
- JQuery Ajax is sending GET instead of POST
- Rails accepts_nested_attributes_for with f.fields_for and AJAX