Commit feea0ab4 authored by Hendro Triokta Brianto's avatar Hendro Triokta Brianto
Browse files

lagi nge-test

parent cc3c237b
#Sun, 26 Apr 2015 07:15:59 +0700
#Sun, 26 Apr 2015 17:11:20 +0700
F\:\\z~edo\\Kuliah\\Semester\ 6\\IF3230\ Sistem\ Paralel\ dan\ Terdistribusi\\Tugas\ Akhir\\src\\client\\TheAlchemistClient=
......@@ -28,8 +28,8 @@ import org.json.JSONObject;
public class Connection {
String response;
String request;
private static String URL = "100.100.100.70";
private static int defPort = 6789;
private static String URL = "167.205.32.46";
private static int defPort = 8025;
private String token = "kosong";
......@@ -77,9 +77,10 @@ public class Connection {
obj.put("username", username);
obj.put("password", toMD5(password));
System.out.println(sendRequest(obj.toString()));
String hasil = sendRequest(obj.toString());
System.out.println(hasil);
return sendRequest(obj.toString());
return hasil;
}
public String map() throws JSONException, IOException{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment