사용자
URLs
유저 가입
POST
/api/users/signup
로컬 유저 로그인
POST
/api/users/login
로컬 유저 로그아웃
POST
/api/users/logout
유저 정보 조회
GET
/api/users/info
이메일 인증
GET
/api/users/confirmEmail
카카오 로그인
POST
/api/users/oauth/kakao/login
카카오 로그아웃
GET
/api/users/oauth/kakao/logout
회원정보 수정
PUT
/api/users/{id}
회원탈퇴
GET
api/users/{id}
GET
회원가입
POST /api/users/signup
Headers
Content-Type
application/json
Body
password
string
비밀번호 (영문, 숫자를 포함한 8~20자 내)
필수
name
string
회원 이름
필수
phone
string
회원 전화번호
필수
birthday
string
회원 생년월일(ex) 001231-3******)
필수
string
이메일 주소
-
Response
로컬 로그인
POST /api/users/login
Headers
Content-Type
application/json
Body
phone
string
회원 전화번호
필수
password
string
비밀번호 (영문, 숫자를 포함한 8~20자 내)
필수
Response
Create a new user
POST /users
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
name
string
Name of the user
age
number
Age of the user
Response
Last updated