Recently I started using Retrofit 2 and I faced an issue with parsing empty response body. I have a server which responds only with http code without any content inside the
If you are using rxjava, use something like :
@GET("/path/to/get") Observable> getMyData(/* your args here */);