Re: CSRF Verification fails in production for Cross Domain POST request

2019-04-25 Thread Gil Obradors
When I have problems with csrf and POST, I usually put a print(request.POST) into a view function, to see what the framework recives from client help you? Missatge de suresh del dia dj., 25 d’abr. 2019 a les 8:20: > The HTTP_X_CSRFTOKEN header does not match what is inside the csrftoken >

CSRF Verification fails in production for Cross Domain POST request

2019-04-25 Thread suresh
The HTTP_X_CSRFTOKEN header does not match what is inside the csrftoken cookie. How can I examine the cookie? Set-Cookie is not displayed in the Response header for Cross Domain requests. I have already followed instructions found in: