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
zegevlier15mo 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
lokiwind15mo 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
zegevlier15mo ago
Where are you getting stuck?
lokiwind
lokiwind15mo ago
I don't know exactly which api connections to use
zegevlier
zegevlier15mo 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
lokiwind15mo ago
I will use this link to create Worker, right
zegevlier
zegevlier15mo ago
I think so yea
lokiwind
lokiwind15mo 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
zegevlier15mo ago
Can you please clarify what you mean?
lokiwind
lokiwind15mo ago
I will create worker using this link My other question is I want to upload a generated workers code
lokiwind
lokiwind15mo 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-Jak315mo ago
Uploading a worker with a different name will create a new script
lokiwind
lokiwind15mo ago
Thank you.
Want results from more Discord servers?
Add your server