유저 API

유저 조회 API

GET http://localhost:3000/users/:userId

Path Parameters

Name
Type
Description

userId*

String

Request Body

Name
Type
Description

password*

String

{
    "success": false,
    "response": {
        "statusCode": 401,
        "message": "비밀번호가 일치하지 않습니다",
        "error": "Unauthorized"
    }
}

회원 가입 API

POST http://localhost:3000/users/signUp

Request Body

Name
Type
Description

email*

String

password*

String

nickname*

String

{
    "statusCode": 400,
    "message": [
        "닉네임은 최소 2자리에서 최대 10자리 문자열입니다.",
        "nickname should not be empty"
    ],
    "error": "Bad Request"
}

Last updated