Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

django csrf failed

'DEFAULT_AUTHENTICATION_CLASSES': [
    # 'rest_framework.authentication.SessionAuthentication',
    'rest_framework.authentication.BasicAuthentication',
]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #csrf #failed
ADD COMMENT
Topic
Name
7+2 =