// upload · simpan · bagikan

📁
Klik atau seret file ke sini
Maks. 50 MB · pdf, jpg, png, zip, mp4, dll.
🔒 File aman dari akses langsung ⏱ File tersimpan 3 hari 🚀 Max 50 MB
⚡ Dokumentasi API Upload

Endpoint: POST /api/upload.php

Request dengan multipart/form-data, field: file

curl -X POST \
  -F "file=@namafile.jpg" \
  https://domain.com/api/upload.php

Response sukses:

{
  "status": "success",
  "id": "abc123",
  "name": "file.jpg",
  "size": "200 KB",
  "download": "https://domain.com/download.php?id=abc123",
  "html_full": "<a href='...'>Download file.jpg</a>",
  "html_small": "<a href='...'>Download</a>"
}