Content-Type
: multipart/application-json
email
: String
, 유저 이메일(로그인할 때 사용되는 아이디)
password
: String
, 비밀번호
id
: Integer
, 유저 id
user_nickname
: String
, 유저 nickname
token
: String
, 토큰 발급 !
{
"success": true,
"message": "로그인 성공 ^o^",
"data": {
"UserId": 1,
"user_nickname": "hunki",
"token": "발급받은 토큰",
}
}
{
"errors": [
{
"msg": "email is required",
"param": "email",
"location": "body"
},
{
"msg": "password is required",
"param": "password",
"location": "body"
}
]
}