url-redirection


Redirection handling in ROKU


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 from GetResponseCode() on the roUrlEvent. Try checking the string you get from GetFailureReason() on that same roUrlEvent, which should give a more detailed description of the problem.
Did you check http://sdkdocs.roku.com/display/sdkdoc/roUrlEvent ?
You did not mention but i am guessing you are using roUrlTransfer
Please check if you are missing any header in http request.
Check for accept header also.

Related Links

OPENWRT : Redirect all wireless client's http/https traffic to the local webserver?
HAProxy redirect to subdomain
Gtmetrix Mimimize Redirect Chains
outlook calendar api redirection uri with vhost , not working
Redirect address when IP and port are mapped to domain
Masking an URL after redirect
How to redirect without change url?
.Search bar not storing history correctly on redirect from separate search page
301 redirect index.html to index.php and hide index.php from the url
Check redirect rules from .htaccess file
301 Redirect with limited access to site
How to create a custom expression to 301 redirect multiple html pages to a single page
URL Rewrite Module and Folder Redirects
handling URI redirect response in OAuth2 user agent flow
url redirecting + tracking
site The page isn't redirecting properly

Categories

HOME
cobalt
design-patterns
c++11
twig
yahoo-finance
mstest
requirements
owl-carousel
appcelerator
bitbucket-api
database-normalization
spring-data-mongodb
soa
alsa
cakephp-3.4
pyqt4
settings
lanczos
bing-maps
sendgrid-api-v3
fabric.io
google-chrome-app
endeca
github-enterprise
alamofire
cmdb
eip
parameter-passing
cfml
blade
spring-async
systemtime
ember-cli
exit
expressionengine3
siri
moses
pylons
corpus
android-maps
firebase-analytics
gp
dotspatial
volatile
zend-debugger
testbed
dumpbin
wacom
clickjacking
keras-layer
vue-chartjs
indy10
lubridate
sessionstorage
odroid
railstutorial.org
lpsolve
angular-http
httrack
sonarlint-eclipse
wcftestclient
reportservice2010
scalding
skin
check-mk
seq
libjpeg
restore
gets
pytables
myspace
tinkerpop3
installshield-2010
lean
embedding
deep
nss
upx
concept-insights
highland.js
wiredep
wso2greg
mirror
ansi
jquery-forms-plugin
cross-join
mruby
deform
webfinger
paw
cbind
encryption-asymmetric
named-parameters
dct
memset
rfc5322
ora-06550
oocss
scringo
veracity
subgraph
virtualpathprovider
jquery-address
pinch
entity-attribute-value
google-ajax-api
http-daemon
presentation-layer
luajava
binomial-heap
strtod
glui
wysiwym
leader
image-capture

Resources

Encrypt Message