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

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
Redirection With https from www to non-www
Apache2 ProxPassReverse with tomcat redirection and context
Spotfire Redirecting to home after link click

Categories

HOME
android
go
beautifulsoup
kentico
ggplot2
datastore
twig
mjml
angular-formly
angular2-material
numbers
pascal
serialization
saml-2.0
oracle-apex-5
grafana
r-googlesheets
3d-reconstruction
settings
mapbox
webix
nfs
pattern-matching
mel
enthought
text-mining
android-securityexception
ycsb
3nf
jersey-1.0
smartclient
google-container-registry
windows-server-2003
xcode-ui-testing
asymptotic-complexity
oculus
inversion-of-control
wcag
jaws
constexpr
corenlp-server
autodesk-designautomation
dotspatial
eviews
glib
fstream
catch-unit-test
nested-lists
oracle-service-bus
wc
optimizely
pom.xml
servermanager
proget
launchctl
scalding
custom-font
modelsim
truezip
skin
jqchart
janus
cmp
cd-burning
rsa-archer-grc
flex-monkey
myspace
uicolor
model-associations
firebase-security
respondcms
omniauth-facebook
database-relations
libav
nullable
blitline
highland.js
spring-retry
linklabel
uncompress
haskell-warp
dronekit-android
dnssec
dot.js
openbabel
showdialog
reflector
winginx
draw2d-js
amslidemenu
eclipse-kepler
sphinxql
scrypt
nevron
pagedown
resource-management
panda3d
frameworkelementfactory
sentestingkit
stress
exponentiation
jqote
creole
unattended-processing
commerceserver2007
timertask
web-garden
technical-debt

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App