Closed gillbates closed 4 months ago
Howdy @gillbates, technically the ownership of those API endpoints (and examples is the ENG team) and out of scope for this repo.
I've passed this along internally to that team. Closing out this issue as that's as much as we can do w/in the context of the current repo.
Which Cloudflare product does this pertain to?
Workers
Existing documentation URL(s)
https://developers.cloudflare.com/api/operations/worker-script-upload-worker-module
Section that requires update
curl --request PUT \ --url https://api.cloudflare.com/client/v4/accounts/account_identifier/workers/scripts/script_name \ --header 'Content-Type: multipart/form-data' \ --header 'X-Auth-Email: ' \ --form '"message"=' \ --form '"second-file.js"=' \ --form '"worker.js"=' \ --form metadata=
What needs to change?
I wonder if the team could provide a sample upload curl with all info from a wrangler.toml
How should it change?
the current curl sample would be much better if the values are written their with some fake data?
Additional information
No response