🔐 API Authentication Required
Liên hệ admin để nhận API key. Thêm header X-API-Key vào tất cả requests.
Upload File
POST/api/upload/single
const formData = new FormData();
formData.append('file', file);
axios.post('/api/upload/single', formData, {
headers: {
'X-API-Key': 'your-api-key'
}
}).then(res => {
console.log('Short URL:', res.data.url);
// Result: "https://domain.com/1720234567_a1b2c3.jpg"
});
List Files
GET/api/files
axios.get('/api/files', {
headers: {
'X-API-Key': 'your-api-key'
}
}).then(res => {
console.log('Files:', res.data.files);
});
Download File
GET/filename.ext
// Direct access (no API key needed)
window.open('https://domain.com/1720234567_a1b2c3.jpg');
// Or download with original name
window.open('/api/files/download/file-id');
Delete File
DELETE/api/delete/:id
axios.delete('/api/delete/file-id', {
headers: {
'X-API-Key': 'your-api-key'
}
}).then(res => {
console.log('Deleted:', res.data.message);
});
100MB Max
File size limit
All Types
Supported formats
Short Links
domain.com/file.jpg
1000/15min
Rate limit
Chưa có API Key. Liên hệ admin để nhận API key.
Kéo thả files vào đây
hoặc click để chọn files (tối đa 100MB)
Uploading...