0

I am calling a web service with GET method from Android client, which returns null response if the response code is 302. I am using Retrofit lib for network handling. Although I get the response if response code is 200.

With the same call in postman or browser, I get the response even if the response code is 302.

Is there any special handling required for Retrofit to return the actual response instead of null?

Mayur More
  • 951
  • 2
  • 15
  • 37

0 Answers0