Django api returns 403 {"detail": "CSRF Failed: CSRF cookie not set."}

the API, I wrote by calling django through PUT is good on postman, but when I call API through axios, I return 403.
response is {"detail": "CSRF Failed: CSRF cookie not set."},
in django, I have commented CSRF

clipboard.png

but it"s still useless, ask for God!

Mar.01,2021

axios does not have a cookie request by default. You need to set withCredentials: true

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3521c-4ebd3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3521c-4ebd3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?