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
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?
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.
Where are you getting stuck?
I don't know exactly which api connections to use
Worker Script
You can use at the code that Wrangler uses to prepare the request, that'll always be the most up to date
I will use this link to create Worker, right
I think so yea
Thank you, so how can I upload code with the worker api I created?
So which api connection should I use for that
Can you please clarify what you mean?
I will create worker using this link
My other question is I want to upload a generated workers code
Upload Worker Module is a link used to edit an existing Worker
I want to create a new worker api connection
Uploading a worker with a different name will create a new script
Thank you.