I am trying to call an API in ROKU player using bright script. But I a getting "response code -3". But when I am hitting that service on Web Browser it gives the xml in response. Actually there is a redirection in the API which I am using. As I know the redirection is not handled by the ROKU OS level. So How will I come out this situation. Please help me and provide me any solution for that how can I handle the redirection in ROKU?
Thanks in advance.
The documentation at http://sdkdocs.roku.com/display/sdkdoc/roUrlEvent gives
CURLE_URL_MALFORMAT
as name for the-3
code you got fromGetResponseCode()
on theroUrlEvent
. Try checking the string you get fromGetFailureReason()
on that sameroUrlEvent
, which should give a more detailed description of the problem.