Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // REQUEST
- JSONObject json = new JSONObject();
- json.put("nama_lengkap","andry");
- /*json.put("nama_lengkap_ibu","");
- json.put("nama_lengkap_ayah","");
- json.put("tgl_lahir","");
- json.put("tmpt_lahir","");
- json.put("alamat","");
- json.put("pekerjaan","");*/
- System.out.println("sync response ="+json.toString());
- resp = Requests.post(
- new RequestParamItem(ip+"/api/ektp/searchDetails/")
- .addString("json",json.toString())
- );
- // RESPONSE
- /*
- hwid=af875f1a5341c766f76e996d91f9680d7cdb0f5e
- password=1f6f12d77b054de251527d8cc640ec1b185d749b
- timestamp=f4181e924e12a4811b77d45c75419c07bbe39b78
- username=a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
- login response ={"result":{"userid":1},"response":{"code":0,"message":"login success"}}
- sync response ={"nama_lengkap":"andry"}
- hwid=af875f1a5341c766f76e996d91f9680d7cdb0f5e
- json=edeba94307d3cdbcbbcc8976e9923a9259d05d3c
- password=1f6f12d77b054de251527d8cc640ec1b185d749b
- timestamp=db74d00f65605e1981adcce41ddb3be791fdbc8e
- username=a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
- identification response ={"result":[],"response":{"code":0,"message":""}}
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement