[Post] /api/users/signUp


Request-Header

Request-Params

Request-Body

email : String, 사용자 이메일

password : String, 사용자 비밀번호

nickname : String, 사용자 닉네임

gender : Number, 사용자 성별

birth : Number, 사용자 출생년도

notice_agreement : Boolean, 사용자 알림 수신 여부

{
    "email":"[email protected]",
    "password":"pwpwpw",
    "nickname":"감자",
    "gender":1,
    "birth":19970302,
    "notice_agreement":true
}

Response - body

token : String, 사용자 access_token 값


SUCCESS

{
    "token": "eyJhbGciOiJIUzI1NiI*********.eyJ1c2VyIjp7ImlkIjoiNjBlNDVmNzc*****************MTYyNTU3OTM4MywiZXhwIjoxNjI2MTg0MTgzfQ.XZYPZUp*************T5h5V48"
}

FAIL 1 : 파라미터 값이 들어오지 않았을 경우