WorkerWorker Environment

Get script content

GET
Get script content from a worker with an environment

Path parameters

account_identifierstringRequired
Identifier
service_namestringRequired
Name of Worker to bind to
environment_namestringRequired
Optional environment if the Worker utilizes one.
GET
1curl https://api.cloudflare.com/client/v4/accounts/023e105f4ecef8ad9ca31a8372d0c353/workers/services/my-worker/environments/production/content \
2 -H "Authorization: Bearer <token>"