Hi, my name is Devendra. I am trying to build a video application. I recentyly joined Cloudfare. Let

Hi, my name is Devendra. I am trying to build a video application. I recentyly joined Cloudfare. Let me explain what I am trying to do then let me know if this is the correct place to ask the question.

I want to create a form where user can upload video and then in the backend I will upload videos to stream.
Now cloudfare docs suggests that I should use tokens for uploading videos to stream. I can generate token from the cloudfare dashboard. But I will set its expiry to short.
My question is when this token expires then do I need to create again a token mannualy ? I dont think it is good idea.
Other solution I was thinking that, I could use create token API which will generate tokens for stream read/edit. And once stream token is expired then I could renew using create token API.
But the problem how could I use create token API in localhost? Its docs says that I need zone ID and zone ID I will get after registering a domain but I dont have domain right now. Even though I have registered the domain, how would I do development work because I will always need to do development in locahost.
I dont know if this is the right forum to ask. If not please guide me to the right forum
Was this page helpful?