Created
January 3, 2022 09:41
-
-
Save sehrishnaz/28f0fb7b114fd73ceb3bcb27ebecfb7b to your computer and use it in GitHub Desktop.
Post Request Via Ajax in Django CSRF Token Missing or Incorrenct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group mb-3"> | |
<textarea id="textAreaId" rows="10" cols="20" class="form-control"></textarea> | |
</div> | |
<div class="form-group"> | |
<input id="btn_ajax_post" type="button" value="Ajax Post To Django" onclick="ButtonSearchClick()"> | |
</div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Post Request Via Ajax in Django CSRF Token Missing or Incorrect