POST
Upload File
https://dochost.online/api/upload
Accepts multipart/form-data. The field name must be file.
Response (201 Created)
{
"success": true,
"id": 1,
"original_name": "report.pdf",
"size": 1024,
"mime_type": "application/pdf",
"short_code": "AbCd12",
"url": "https://dochost.online/file/AbCd12",
"delete_url": "https://dochost.online/api/file/AbCd12"
}