HttpPost works in Java project, not in Android

前端 未结 4 1784
无人共我
无人共我 2020-12-01 15:36

I\'ve written some code for my Android device to login to a web site over https and parse some data out of the resulting pages. An HttpGet happens

4条回答
  •  星月不相逢
    2020-12-01 16:14

    Is it possible that this website does user-agent detection and actually returns different results because it's Android? Given that 200 implies success, why must it give a 302 instead of a 200? Have you printed out the result that you get when it returns a 200, and does it give any additional information?

提交回复
热议问题