Naveen
Naveen
> when calling the `update profile` endpoint, csrf_token should be included in request body I'm a beginner. Could you please elaborate on how to include CSRF in request body ?
> > > when calling the `update profile` endpoint, csrf_token should be included in request body > > > > > > I'm a beginner. Could you please elaborate on...
This is how I solved this problem. https://django-ninja.dev/reference/csrf/ **How to protect against CSRF with Django Ninja** Use an authentication method not automatically embedded in the request CSRF attacks rely on...