Skip to content

회원가입

heesung6701 edited this page Jul 7, 2019 · 10 revisions

회원가입(/auth/signup)

회원가입

Request

URL

[POST] ~/auth/signup

Header

메소드 파라미터 설명
Content-Type application/json

Body

변수 타입 설명
name String 이름
email String 이메일
phone String 전화번호
password String 비밀번호

Response

Body

SUCCESS

{
    "status": 200,
    "success": true,
    "message": "회원가입 성공"
}

FAIL : 이름, 이메일, 전화번호, 비밀번호를 입력하지 않았을 때

{
    "status": 400,
    "success": false,
    "message": "필요한 값이 없습니다."
}

FAIL : 이미 존재하는 유저일 때

{
    "status": 400,
    "success": false,
    "message": "존재하는 유저 입니다."
}
Clone this wiki locally