Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Binge Watcher

Create requests and make api call

There are multiple requests in the application.

For each API there are different headers, params, content type, url etc which needs to be created and pass to rourltransfer


Also before each API we need to check IF cookies and token are valid or not. If not valid we need to first make a cookie refresh API call, after success we proceed with the actual requests


Please let me know if there is any standard way of doing the same?


Can we have some kind of inheritance for doing the same?



0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.