Creating worker with api

Hello, I want to create a worker with api and I want a specific code to be entered into the created worker, which apis should I use for these operations I mentioned
13 Replies
zegevlier
zegevlier2y ago
You want to create a worker from a worker? Why are you using the API? Why did you include a screenshot of the quick editor?
lokiwind
lokiwindOP2y ago
I want to create a worker with Cloudflare api and I want to add (edit) code to this worker with api The images are for easier understanding of the process I want to do.
zegevlier
zegevlier2y ago
Where are you getting stuck?
lokiwind
lokiwindOP2y ago
I don't know exactly which api connections to use
zegevlier
zegevlier2y ago
Worker Script You can use at the code that Wrangler uses to prepare the request, that'll always be the most up to date
lokiwind
lokiwindOP2y ago
I will use this link to create Worker, right
zegevlier
zegevlier2y ago
I think so yea
lokiwind
lokiwindOP2y ago
Thank you, so how can I upload code with the worker api I created? So which api connection should I use for that
zegevlier
zegevlier2y ago
Can you please clarify what you mean?
lokiwind
lokiwindOP2y ago
I will create worker using this link My other question is I want to upload a generated workers code
lokiwind
lokiwindOP2y ago
Upload Worker Module is a link used to edit an existing Worker I want to create a new worker api connection
Cyb3r-Jak3
Cyb3r-Jak32y ago
Uploading a worker with a different name will create a new script
lokiwind
lokiwindOP2y ago
Thank you.
Want results from more Discord servers?
Add your server