django4.2 post forbidden

requirements.txt

asgiref==3.7.2
certifi==2023.7.22
charset-normalizer==3.3.2
Django==4.2.7
idna==3.4
requests==2.31.0
sqlparse==0.4.4
typing_extensions==4.8.0
tzdata==2023.3
urllib3==2.0.7

Please do not post screenshots of code, etc. copy/paste the text into the body of your message, between lines of three backtick- ` characters. This means you’ll have a line of ```, then your code, then another line of ```.

Also, when you’re posting code, include some type of description so that people reading it know what they’re looking at and what they might be looking for.

hi,
you have a spell error in index function decoration,
it should be “@csrf_exempt” instead of ``@csrf_exampt"
that may caused your issue.