Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Level 8

Avoid automatic url redirect 302

Hi 

I am making a request which automatically redirects to the redirect url on 302 response

 

But for this particular case, want to avoid the redirect and just get the response as 302.

 

How to avoid redirect of the url? Please help me stuck in this for a while

0 Kudos
2 Replies
Highlighted
Level 10

Re: Avoid automatic url redirect 302

Use Head() or AsyncHead() on the roUrlTransfer object and you shouldn't get redirected.

Highlighted
Level 8

Re: Avoid automatic url redirect 302

@speechles But I want request type to be POST. 

0 Kudos