Skip to content

회원가입

Ji Yeon Kim edited this page Jan 11, 2019 · 2 revisions

회원가입

소연

메소드 경로 설명
POST /user 회원가입

요청헤더

Content-Type: multipart/form-data

요청 바디

{
    "user_id" : "coco",
    "user_password" : "abc",
    "user_name" : "KIM",
    "user_phone" : "010222333",
    "user_img" : "asdfiwoebf.jpg"
}

응답 바디

성공
{
    "status": 201,
    "message": "회원 가입 성공",
    "data": null
}
중복된 아이디
{
    "status": 400,
    "message": "회원이 이미 존재합니다.",
    "data": null
}

INTERNAL SERVER ERROR

{
    "status": 500,
    "message": "서버 내부 에러",
    "data": null
}
Clone this wiki locally