POST
/
cdn
/
resources
/
{id}
/
prefetch
curl --request POST \
  --url https://api.gcore.com/cdn/resources/{id}/prefetch \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "paths": [
    "/test.jpg",
    "test1.jpg"
  ]
}'
This response does not have an example.

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

id
integer
required

CDN resource ID for which the content should be pre-populated.

Body

application/json

Response

201

Successful.