Skip to content

마이페이지조회

Bomi Kim edited this page Jan 7, 2019 · 3 revisions

마이페이지 조회

메소드 경로 짧은 설명
GET /users 마이페이지 조회

요청 헤더

Content-Type: application/json
Authorization: token

응답 바디

마이페이지 조회

{
    "status": 200,
    "message": "회원 정보 조회 성공",
    "data": {
        "userIdx": 1,
        "nick": "daye",
        "profileUrl": "https://s3.ap-northeast-2.amazonaws.com/project-bring/default_profile_80.png",
        "auth": true
    }
}

마이페이지 조회 실패

{
    "status": 401,
    "message": "인증 실패",
    "data": null
}

INTERNAL SERVER ERROR

{
    "status": 500,
    "message": "서버 내부 에러",
    "data" : null
}

Clone this wiki locally