POST • /api/upload/file-info
File Info
Membaca metadata file dari form-data dan mengembalikan nama, tipe, serta ukuran file.
POSTform-dataJSON Response
Endpoint Info
Method: POST
Body Type: form-data
Path: /api/upload/file-info
Category: upload
Response: JSON
Status Code
200 - Success
400 - Bad Request
404 - Endpoint Not Found
413 - File Too Large
500 - Internal Server Error
Parameters
| Name | Type | Required | Max Size | Description |
|---|---|---|---|---|
| title | text | Yes | - | Judul atau nama request upload. |
| file | file | Yes | 5MB | File yang ingin dicek metadata-nya. |