-
Notifications
You must be signed in to change notification settings - Fork 4
3.1.2. 회원가입
sunkyungBAEK edited this page Jul 12, 2019
·
10 revisions
메소드 | 경로 | 기능 설명 |
---|---|---|
POST | BASEURL/user/signup | 회원가입 |
{
"email": "[email protected]",
"password": "password3",
"repassword": "password3"
"device_token": "기기토큰"
}
status: 200
body : {
status: 200 (OK),
success: true,
message: "회원가입 성공"
data : {
accesstoken : 발급된 accessToken
refreshtoken : 발급된 refreshtoken
}
}
status: 200
body : {
status: 400 (BAD_REQUEST),
success: false,
message: "이미 사용중인 이메일 입니다."
}
status: 200
body : {
status: 400 (BAD_REQUEST),
success: false,
message: "잘못된 형식의 이메일입니다"
}
status: 200
body : {
status: 400 (BAD_REQUEST)
success: false,
message: "잘못된 형식의 비밀번호입니다"
}
status: 200
body : {
status: 400 (BAD_REQUEST)
success: false,
message: "재입력된 비밀번호가 일치하지 않습니다"
}
status: 200
body : {
status: 500 (INTERNAL_SERVER_ERROR)
success: false,
message: "서버에러"
}