User 등록

새로운 유저를 생성합니다.


METHOD & URL

POST /user/signup/

Permission

모든 사용자


Request

Body

아래의 항목들을 request body에 담아 POST 요청을 보낸다.

  • email: 유저 이메일. 로그인할 때 username 역할을 함.
  • nickname: 유저 닉네임. 대부분의 상황에서 보여지는 이름.
  • instrument: 유저 악기. 문자열필드.
  • password1, password2: 비밀번호.

Success Response

HTTP Response

201 Created

Content

{
    "id": 유저 id값,
    "email": "이메일",
    "nickname": "닉네임",
    "genre": 장르,
    "instrument": 악기
}

Error Response


results matching ""

    No results matching ""