Forum Discussion
tboneus
15 years agoVisitor
Thanks guys, got it working. As YungBlood pointed out, digest authorization is built in so just needed to pass the username and password.
In case anyone might find it useful in the future the working code was:
conn = CreateObject("roAssociativeArray")
conn.UrlPrefix = "http://192.168.2.2/tmp/rokuRemote.php?button=&button="
conn.UrlCategoryFeed = conn.UrlPrefix + dir
http = CreateObject("roUrlTransfer")
http.SetUrl(conn.UrlCategoryFeed)
http.SetUserAndPassword("wdlxtv","wdlxtv")
In case anyone might find it useful in the future the working code was:
conn = CreateObject("roAssociativeArray")
conn.UrlPrefix = "http://192.168.2.2/tmp/rokuRemote.php?button=&button="
conn.UrlCategoryFeed = conn.UrlPrefix + dir
http = CreateObject("roUrlTransfer")
http.SetUrl(conn.UrlCategoryFeed)
http.SetUserAndPassword("wdlxtv","wdlxtv")