URL
https://cdnsun.com/api/cdns/ID/prefetch
Method
POST
Curl example
curl -i -X POST -u username:password -H 'Accept: application/json' -H 'Content-type: application/json' --url 'https://cdnsun.com/api/cdns/ID/prefetch' -d '{"prefetch_paths":["\/images\/image.jpeg","\/images\/image2.jpeg"]}'
Options
Option | Data Type | Description | Example |
---|---|---|---|
ID | integer | Indicates the CDN service ID. | 5 |
prefetch_paths* | array | Array of (string) paths to prefetch. | [/images/image.jpeg, /images/image2.jpeg] |