CSRF Cookie not Set using Axios
I get this error since a week ago. I've been reading a lot of answers here in other sites but nothing yet. I've been change the setting many times and I don't know where is my error.
I have an API Django RF and the frontend using React. To make the call I'm using Axios. When I do a POST request I get the
Forbidden (CSRF cookie not set.): /api/cart/add-item/
This is my settings.py
This is my View
And this is my Axios