WorkerWorkers for Platforms

Get Script Content (Workers for Platforms)

GET
Fetch script content from a script uploaded to a Workers for Platforms namespace.

Path parameters

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