Last active
January 26, 2021 16:53
-
-
Save channprj/0cb105e273652af3364e85d6faedb2a3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// csrftoken 쿠키 설정 | |
const csrftoken = pm.cookies.get('csrftoken') | |
pm.environment.set('csrftoken', csrftoken); | |
// jwt 토큰 환경변수 설정 | |
const responseData = pm.response.json(); | |
pm.environment.set('access', responseData.access); | |
pm.environment.set('refresh', responseData.refresh); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment