-
Notifications
You must be signed in to change notification settings - Fork 3
마이페이지 회원정보 수정
jineeee edited this page Jul 10, 2019
·
4 revisions
메소드 | 경로 | 설명 |
---|---|---|
PUT | /myPage | 마이페이지 회원정보 수정 |
Content-Type: multipart/form-data
Authorization: Jwt Token Value
- genre, mood, originArtist는 배열로 보내주세요
- 수정사항에서 입력하지 않은 정보들은 '기존 데이터'로 보내주세요
- 해당 유저가 아티스트가 아닐 시 backImg와 comment는 null로 보내주세요
- profileImg와 backImg는 이미지 파일 입니다
{
"nickname" : "웨이브예진",
"profileImg" : "profile.jpg",
"backImg" : "backgroundImage.jpg",
"comment" : "웨이브 스튜디오 소속 김예진입니다.",
"genre[0]" : "g2",
"genre[1]" : "g3",
"mood[0]" : "m1",
"mood[1]" : "m3",
"originArtist[0]" : "4",
"originArtist[1]" : "5"
}
{
"status": 200,
"success": true,
"message": "마이페이지 수정 성공"
}
{
"status": 600,
"success": false,
"message": "마이페이지 수정 실패"
}
{
"status": 403,
"success": false,
"message": "토큰값이 존재하지 않습니다."
}
{
"status": 404,
"success": false,
"message": "토큰과 일치하는 유저가 없습니다."
}