Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
Ask Question
I resolved this error code 307 issue by hitting first on base url and then getting the redirect url from response header and hitting on that redirect url in both volley and retrofit. In volley I used retry policy to hit on redirect url but in retrofit I handle this redirection manually.
String redirectUrl=responseHeaders.get("location");
Is there any best solution to resolve this issue?Please help me out.
–
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.