Skip to main content
POST
/
v1
/
api
/
files
/
upload
/
photo
Upload photo de profil
curl --request POST \
  --url http://localhost:3091/v1/api/files/upload/photo \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "success": true,
  "message": "<string>",
  "data": {},
  "error": {
    "code": "<string>",
    "message": "<string>",
    "details": "<string>"
  },
  "timestamp": "2023-11-07T05:31:56Z"
}

Body

multipart/form-data
file
file
required

Response

200 - */*

OK

success
boolean
message
string
data
object
error
object
timestamp
string<date-time>