Why Vrugle's File optimization server?
API Documentationx-api-key - API Key for authenticationx-api-secret - API Secret for authenticationfile - File to upload (required)bucket - Target bucket name (required)curl -X POST \ http://localhost:3000/upload \ -H "x-api-key: your_api_key" \ -H "x-api-secret: your_api_secret" \ -F "file=@example.jpg" \ -F "bucket=your_bucket_name"
{
"success": true,
"data": {
"fileName": "1676547632-example.jpg",
"url": "http://cdn.vrugle.com/your_bucket/1676547632-example.jpg"
}
}
bucket - Name of the bucket (required)filename - Name of the file (required)curl http://localhost:3000/bucket/1676547632-example.jpg
by
Vrugle