Skip to content

[User] 로그인

jujube0 edited this page Dec 31, 2020 · 3 revisions

로그인

    POST /users/signin

Request Body

name type description required
nickname String O
password String O

Sample

{
    "nickname":"alsl2436",
    "password": "1234"
}

Response

name type description
status Int
success Boolean
message String
data Data

Data

name type description
token String 토큰

Sample

{
    "status": 200,
    "success": true,
    "message": "로그인 성공.",
    "data": {
        "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTMsImlhdCI6MTYwOTQyNTEyOCwiZXhwIjoxNjA5NDUwMzI4LCJpc3MiOiJiZW1lIn0.6HA_WS98eqWsAfmS0cKckC6kM6bc_2EBrPP0o8eDJiE"
    }
}
Clone this wiki locally