Skip to content

[POST] 회원가입

Gyunny edited this page Nov 21, 2020 · 11 revisions
메소드 경로 설명
POST /users/signup 로그인

Request Header

{
    "Content-Type": "application/json"
}

Request Body

{
    "loginId" : "Gyunny",
    "password" : "1234"
    "userName" "유저이름"
}
  • loginId : 로그인 아이디
  • password: 비밀번호
  • userName" 유저 이름

Response

< Success >

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

< Fail >

  • 데이터 누락
{
    "status": 400,
    "message": "필요한 값이 없습니다."
}
  • 서버에러
{
    "status": 500,
    "message": "서버 에러"
}