✔닉네임 중복체크 - SangleProject/Sangle GitHub Wiki

메소드 경로 설명
POST /users/checkNickName 닉네임 중복확인

Signup_final_error

Request Header

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

Request Body

{
    "nickName" : "hhyo"
}
  • nickName : 사용자 닉네임 (중복불가)

Response

< Success >

  • 닉네임 사용가능
{
    "isAvailable": true
}
  • 닉네임 사용 불가능 (중복)
{
    "isAvailable": false
}

< Fail >

  • 데이터 누락 (400)
{
    "data": null
}
  • 데이터베이스 에러 (600)
{
    "data": null
}
  • 서버 내부 에러 (500)
{
    "data": null
}
  • 메소드 에러 (405)
  • 경로 에러 (404 or 400)

⚠️ **GitHub.com Fallback** ⚠️