This commit is contained in:
Your Name 2025-03-20 23:07:43 +03:00
parent 9fffc9d809
commit 16e7f989a0
2 changed files with 4 additions and 2 deletions

View file

@ -47,11 +47,12 @@ public class GetRequest {
protected void onGetExecute(String result) { protected void onGetExecute(String result) {
try { try {
Log.i("GET", result);
callback.onGetResponse((new JSONObject( callback.onGetResponse((new JSONObject(
result result
))); )));
} catch (Exception e) { } catch (Exception e) {
Log.i("Exception", e.toString()); // STATIC Log.i("ExceptionGET", e.toString()); // STATIC
} }
} }

View file

@ -63,13 +63,14 @@ public class PostRequest {
protected void onPostExecute(String result) { protected void onPostExecute(String result) {
try { try {
Log.i("POST", result);
callback.onPostResponse((new JSONObject( callback.onPostResponse((new JSONObject(
Encryption.aesDecrypt( Encryption.aesDecrypt(
result result
) )
))); )));
} catch (Exception e) { } catch (Exception e) {
Log.i("Exception", e.toString()); // STATIC Log.i("POSTException", e.toString()); // STATIC
} }
} }