This commit is contained in:
Your Name 2025-03-23 13:31:23 +03:00
parent ca9c5b08ea
commit afa6a3d112

View file

@ -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) {