Skip to content

[POST] 로그인

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

Request Header

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

Request Body

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

Response

< Success >

{
    "status": 200,
    "message": "로그인 성공"
}

< Fail >

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