❇️ API 설명
<aside>
📎 비밀번호 변경
Page |
HTTP method |
URI |
회원정보 수정 페이지 |
PATCH |
/user/edit/profile |
</aside> |
|
|
⬆️ Request
Header
Name |
Type |
Value |
Authorization |
String |
access Token |
{
"Authorization" : "[사용자별 access Token]",
}
Body
Name |
Type |
Description |
userProfileImg |
*FormData* |
변경할 사진 파일 |
{
"userProfileImg" : "",
}
⬇️ Response
Body
Name |
Type |
Description |
code |
Int |
상태코드 |
inSuccess |
Boolean |
0은 실패, 1은 성공 |
message |
String |
상태 메시지 |
result |
String |
바뀐 이미지 url |
{
"code": 1000,
"inSuccess": 1,
"message": "프로필 이미지 수정 성공",
"result": "<https://once-s3.s3.ap-northeast-2.amazonaws.com/profileImg/lux2002-profile.png>"
}