curl --request GET \
--url https://storage.bunnycdn.com/{storageZoneName}/{path}/{fileName} \
--header 'AccessKey: <api-key>'[
{
"HttpCode": 123,
"Message": "<string>"
}
]Returns the stored file at the given path. If the file does not exist, a 404 response will be returned.
curl --request GET \
--url https://storage.bunnycdn.com/{storageZoneName}/{path}/{fileName} \
--header 'AccessKey: <api-key>'[
{
"HttpCode": 123,
"Message": "<string>"
}
]The storage zone password also doubles as your API key. You can find it in your storage zone details page in the bunny.net dashboard.
The API AccessKey used for authentication.
The name of your storage zone where you are connecting to.
The directory path to your file. If this is the root of your storage zone, you can ignore this parameter.
The name of the file that you wish to download.
Returns the file stored at the given path.
Was this page helpful?