Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Search instead for 
Did you mean: 
Level 7

Problem with code url

This problem

067:*   http =  NewHttp("http://localhost/example.json")

Function Call Operator ( ) attempted on non-function. (runtime error &he0) in pkg:/components/screens/HomeScene/HomeScene.brs(67)
0 Kudos
2 Replies
Level 8

Re: Problem with code url

`NewHttp()` is not part of the Roku SDK (as far as I can tell), so you'll need to make sure you have that function available somewhere else in your code, and that it's accessible.
0 Kudos
Level 8

Re: Problem with code url

NewHttp() is in urlUtils.brs in the "scroll" example in SDK 1. 
urlUtils.brs may be in other examples.
Kinetics Screensavers
0 Kudos