How to convert the response from Okhttp into inputstream
you can get the InputStream through byteStream()
E.g.
InputStream is = response.body().byteStream();
to return it you have to change the method's signature. From String
to InputStream
you can get the InputStream through byteStream()
E.g.
InputStream is = response.body().byteStream();
to return it you have to change the method's signature. From String
to InputStream