HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🧚
[1기]최종 프로젝트 데브코스
/
🏀
[팀14] 슬램 - 우리 주변 농구장 예약
/
🧭
Domain 설계 - 초안 건드리지 말 것
/
[PUT] /api/v1/user/{userId}/image

[PUT] /api/v1/user/{userId}/image

Request

  • JSON (예시)
{ "profileImage": "BASE64 Encoding" }
PathVariable
Filed
Type
Description
비고
userId
Number
사용자 구분 키
Body
Filed
Type
Description
비고
profileImage
String
Image를 유저에 의해 변경
base64 image 파일
 

RESPONSE

이미지 정보(url)를 다시 반환해줘야함
  • JSON (예시)
{ "success": true, "serverDateTime": "2021-12-01T12:00:00" }
 
Body
Path
Type
Description
비고
success
Boolean
성공여부
true/false
serverDateTime
String
api 응답시간