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