I am getting a \'CSRF token missing or incorrect\' error, but I have already added the {% csrf_token%}
tag in the web form. Any idea why I still face this error
It looks like your problem is enctype="text/plain"
in your form. The CSRF protection assumes that the post data is form encoded.
The simplest fix is to remove that entirely, which is equivalent to:
enctype="enctype=application/x-www-form-urlencoded"
If you were uploading files in your form you would use:
enctype="multipart/form-data"