cyzyvos
cyzyvos
Explore posts from servers
CDCloudflare Developers
Created by cyzyvos on 8/30/2023 in #pages-help
Is it possible to upload files via the API?
I would like to deploy a site (let's say consisting of an index.html and a style.css file) to cloudflare pages. Is it possible to do this via the API? I couldn't find anything in the docs. Thanks!
3 replies
CDCloudflare Developers
Created by cyzyvos on 8/30/2023 in #workers-help
Is it possible to upload a worker script (w/ ESM syntax) using the API?
According to the API docs, uploaded scripts have to be in service worker syntax – and I can confirm this: scripts in ESM syntax can be deployed via the browser editor but not via the API. Is this going to be fixed? Is there a way to work around this? thanks!
7 replies