Status: Online
Upload Endpoint: POST /upload.php
Max File Size: 10MB
Allowed Types: jpg, jpeg, png, gif, pdf, doc, docx, txt, zip
{
"status": "success",
"code": 200,
"message": "File uploaded successfully",
"data": {
"original_name": "document.pdf",
"secure_name": "1734567890_abc123.pdf",
"file_url": "https://cert.karantinaindonesia.my.id/uploads/1734567890_abc123.pdf",
"file_size": 1024000,
"file_size_formatted": "1.00 MB",
"file_type": "pdf",
"file_category": "document",
"uploaded_at": "2025-01-15 10:30:00",
"server": "https://cert.karantinaindonesia.my.id"
}
}
Endpoint: POST https://cert.karantinaindonesia.my.id/upload.php
Content-Type: multipart/form-data
Parameter: file (required)
📁 Files Stored:
💾 Total Storage Used: 0 ? round($total_size / 1024 / 1024, 2) : 0; ?> MB
🕐 Auto-cleanup: Files older than 24 hours are automatically deleted