403 (Forbidden)

Zenon Kristalovich 0 Reputation points
2024-08-20T23:54:35.9766667+00:00

I have deployed a django - react server. The issue I am having is that my POST requests to my django backend are having a 403 (forbidden) error. Normally I would see this as just a csrf error. But it works fine when I run the server locally and I also tried using

@csrf_exempt


but I still got the 403 error when deployed. Is there something I need to configure in Azure that I am not? I followed a tutorial and got this far. they never had this issue though.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,675 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.