test
This commit is contained in:
parent
9fffc9d809
commit
16e7f989a0
2 changed files with 4 additions and 2 deletions
|
@ -47,11 +47,12 @@ public class GetRequest {
|
|||
|
||||
protected void onGetExecute(String result) {
|
||||
try {
|
||||
Log.i("GET", result);
|
||||
callback.onGetResponse((new JSONObject(
|
||||
result
|
||||
)));
|
||||
} catch (Exception e) {
|
||||
Log.i("Exception", e.toString()); // STATIC
|
||||
Log.i("ExceptionGET", e.toString()); // STATIC
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -63,13 +63,14 @@ public class PostRequest {
|
|||
|
||||
protected void onPostExecute(String result) {
|
||||
try {
|
||||
Log.i("POST", result);
|
||||
callback.onPostResponse((new JSONObject(
|
||||
Encryption.aesDecrypt(
|
||||
result
|
||||
)
|
||||
)));
|
||||
} catch (Exception e) {
|
||||
Log.i("Exception", e.toString()); // STATIC
|
||||
Log.i("POSTException", e.toString()); // STATIC
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue