Skip to main content
POST
/
api
/
file
/
upload
/
{path}
Upload File
curl --request POST \
  --url https://api.example.com/api/file/upload/{path} \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "success": true
}

Path Parameters

path
string
required

Absolute file path.

Body

multipart/form-data
file
file
required

Response

Successful Response

success
boolean
default:true