[Fixed]-Csrf token missing in django ajax post request working using get request

1👍

You don’t get error with GET because CSRF tokens are required only for POST requests.

Check out this topic in the docs – https://docs.djangoproject.com/en/dev/ref/csrf/

👤4140tm

Leave a comment