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

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

id
integer
required

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

Body

application/json

Response

201

Successful.