-
Notifications
You must be signed in to change notification settings - Fork 2
로그인
ujusy edited this page Jan 3, 2020
·
2 revisions
메소드 | 경로 | 설명 |
---|---|---|
POST | /user/signin | 로그인 |
Content-Type: application/json
변수 | 타입 | 설명 |
---|---|---|
STRING | 아이디 | |
Password | STRING | 비밀번호 |
{
"email" : "[email protected]",
"password":"123123"
}
{
"success": true,
"message": "로그인 성공",
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZHgiOjIsImlhdCI6MTU3NzQ0MDgxMCwiZXhwIjoxNTc3NDQ0NDEwLCJpc3MiOiJqdW5nYWgifQ.TM67FpDocK1OHt0wUZi2Z-7FoJcGbTGWnjY_koTTH94",
"refreshToken": "ypQQUxSrXseCQRVCMjo0evn3YUrZgrB6XOEnW2061FxkGYVe2pnEylBGpZx7SJ2RlXhm8psbVSVmUe2tDSzA95oTmcogQfy56bIVyPffgTB0spg58O1Av4n5dIX1jkt2XhSDzP3dOy7woFaQFQOi7SqGi5dnnaJOQ5aI88FyzHaHS7GGoGjrhOjdcCFMmK64ceuZ1RyuZMGFo0ZAXBwv4b7RPqTKbopKw6VfDhFh7GIuKHwG0ErlsuudILuthXaf",
"isnotFirst": "1"
}
},{
"success": true,
"message": "로그인 성공",
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZHgiOjIsImlhdCI6MTU3NzUyMDEzMiwiZXhwIjoxNjA5MDc3NzMyLCJpc3MiOiJqdW5nYWgifQ.RWaEdUN-GBour-jj1mlgoI8PO0k4AZnzw8o6qEQHfR4",
"refreshToken": "J1JFIm098fAAZ99wihzw2rUc21bIPZO8awTGEXnvAJ5sQT2fz6Rr47nJ9ZFx09ccDCQnyFpDO012nYDYTXeMDiSTSei7nxdF0B4z02aIMKNYCuQyEHFB6TcN0fiC8OrWVNlvKomDNYvV44xC6gVQzdJr3G742aHpJwBKhuNFz86foyL6rueUyekdGVsONKIMUh4Nmk90v1OLkJMwVS6aZZPTAlrWy6wSjOs9TtR4k2kkZKxtMM0J7ekcCBySxiEN",
"isFirst": "0"
}
}
{
"status": 331,
"success": true,
"message": "비밀번호가 맞지 않습니다."
},{
"status": 900,
"success": false,
"message": "존재하지 않는 회원입니다."
}