Mistletoe
CDCloudflare Developers
•Created by Mistletoe on 7/14/2024 in #workers-help
I have problem about Update Cron Triggers on cloudflare API.
I've used the API to Update Cron Trigger on the following page.
It had been working fine, but suddenly stopped working, even though I hadn't changed the code.
https://developers.cloudflare.com/api/operations/worker-cron-trigger-update-cron-triggers
The cURL command on this page also seems to result in a Bad Request.
The same problem occurs when using the sdk.
Has the I/O changed in the API?
Thank you for your helping.
2 replies
CDCloudflare Developers
•Created by Mistletoe on 5/17/2024 in #general-help
How to enable Route for default workers.dev when deploying Workers Script via API
I am considering deploying Workers Script using the API in the link below.
https://developers.cloudflare.com/api/operations/worker-script-upload-worker-module
The deployment itself is successful, but when I check Settings>Triggers>Routes of the deployed Script, [subdomain].workers.dev, which is normally set up & enabled automatically, is disabled.
https://developers.cloudflare.com/workers/configuration/routing/routes/#routes-with-workersdev
I would like to use workers.dev Routes even when deployed by Script via API.
I would like to know how to enable “workers.dev" Routes via API or if there is another more appropriate policy.
5 replies