-
Notifications
You must be signed in to change notification settings - Fork 1
[GET] 첫 번째 홈 탭
Gyunny edited this page Feb 25, 2021
·
9 revisions
메소드 | 경로 | 설명 |
---|---|---|
GET | /home/:praiseId | 유저 첫 번째 탭 |
{
"Content-Type": "application/json",
"token" : "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWR4IjoyMCwiaWF0IjoxNjA4MTk4MTEzLCJleHAiOjE2MTA3OTAxMTMsImlzcyI6InByYWlzZSJ9.fzeBLLwK_TyzUskovaBujiFF_I4cEm5OlmzWFv_da_4"
}
{
"status": 200,
"message": "유저 홈 조회 성공입니다",
"data": {
"homePraise": {
"id": 2,
"today_praise": "개발천재~~",
"praise_description": "개발을 잘하는 친구들에게"
}
}
}
- 유효하지 않은 토큰
{
"status": 401,
"message": "유효하지 않은 토큰값입니다"
}
- 토큰이 없을 때
{
"status": 400,
"message": "토큰 값이 없습니다"
}
- 토큰이 만료되었을 때
{
"status": 400,
"message": "토큰 값이 만료되었습니다"
}
- 서버 에러
{
"status": 500,
"message": "서버 내부 에러입니다"
}