test
This commit is contained in:
parent
afa6a3d112
commit
2fd92d58a2
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public class GetRequest {
|
|||
Call call = client.newCall(request);
|
||||
call.enqueue(new Callback() {
|
||||
public void onResponse(@NonNull Call call, @NonNull Response response) throws IOException {
|
||||
onGetExecute(response.body() != null ? response.body().string() : "");
|
||||
onGetExecute(response.peekBody(Long.MAX_VALUE).string());
|
||||
}
|
||||
|
||||
public void onFailure(@NonNull Call call, @NonNull IOException e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue