Postman access token setting

포스트맨 토큰 설정

header, authentication 설정

/auth/login, /auth/register에 포스트맨 데이터 전역화시키기

const jsonData = pm.response.json()
pm.globals.set("accessToken", jsonData.token);

hi

Environment에서 전역화 된 토큰 값 확인하기

hi

Authentication이 필요한 API에 Authorization 설정하기

Authorization > Type > Bearer token

hi