Skip to main content
GET
https://cdn.sacul.cloud
/
{bucketName}
/
{filepath}
Retrieve Content
curl --request GET \
  --url https://cdn.sacul.cloud/{bucketName}/{filepath}
{
  "200": {},
  "404": {}
}
This endpoint is public by default. You can restrict access in your bucket configuration.

Parameters

bucketName
string
required
The name of the bucket containing the file.
filepath
string
required
The full path to the file including extension (e.g., images/photo.jpg).
format
string
Convert image to a specific format on the fly. Options: webp, jpg, png, avif, gif
quality
integer
Set image quality (1-100).
width
integer
Resize image width (maintains aspect ratio if height not specified).
height
integer
Resize image height (maintains aspect ratio if width not specified).

Response

200
binary
The file content.
404
object
File not found.

Examples

Standard Request
curl https://cdn.sacul.cloud/my-bucket/images/photo.jpg
Image Transformation
curl "https://cdn.sacul.cloud/my-bucket/images/photo.jpg?format=webp&width=300"