1. Tests 탭에 아래 입력
var xsrfCookie = postman.getResponseCookie("csrftoken");
postman.setGlobalVariable('csrftoken', xsrfCookie.value);
2. Headers 탭에 아래 입력
Key : X-CSRFToken
Value : {{csrftoken}}
1. Tests 탭에 아래 입력
var xsrfCookie = postman.getResponseCookie("csrftoken");
postman.setGlobalVariable('csrftoken', xsrfCookie.value);
2. Headers 탭에 아래 입력
Key : X-CSRFToken
Value : {{csrftoken}}