WorkerWorker Script

Get script content

GET
Fetch script content only

Path parameters

account_identifierstringRequired
Identifier
script_namestringRequired
Name of the script, used in URLs and route configuration.
GET
1curl https://api.cloudflare.com/client/v4/accounts/023e105f4ecef8ad9ca31a8372d0c353/workers/scripts/this-is_my_script-01/content/v2 \
2 -H "Authorization: Bearer <token>"