OkHttp Response doesn’t have provided body object on the client side
I am writing REST APIs using okhttp library in Spring Boot. I have my OkHttpClient requesting a GET request(client) from another API(server). Both the client and server uses OkHtttp libraries, so I had used okhttp.response to return an object from Server. On the server side I was able to properly print the body inside the Response object where as on the client side I don’t see the expected object in the client’s Response object.dd