D
D
Dmitry Serkov2016-11-03 12:58:35
Java
Dmitry Serkov, 2016-11-03 12:58:35

Retrofit 2 response code?

Hello.
For requests to the site I use Retrofit 2, the site does not return JSON, so the request looks like this:

Observable<ResponseBody> responseBody = apiServise.getHtml();

How to get the response code in this case?
Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question