Glowb Dev Docs
Main APIAI API

POST /ai/users/profile-image

프로필 이미지 업로드

프로필 이미지 업로드

프로필 이미지를 업로드합니다.

항목
메서드POST
경로/ai/users/profile-image
인증필요
Content-Typemultipart/form-data

요청

POST /ai/users/profile-image HTTP/1.1
Host: api.glowb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary
curl -X POST "https://api.glowb.com/ai/users/profile-image" \
  -H "Authorization: Bearer {access_token}" \
  -F "file=@profile.jpg"
const formData = new FormData();
formData.append('file', profileImage);

const response = await fetch('/ai/users/profile-image', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${accessToken}`
  },
  body: formData
});
const result = await response.json();

Request Parts

Prop

Type

응답

성공 응답 (200 OK)

{
  "imageUrl": "https://s3.amazonaws.com/glowb-input/profile/..."
}

Response 스키마

Prop

Type

API 테스트

On this page