Android : Send Json by Get Method in Android

on Friday, September 12, 2014


How can I send parameters by Json format and Get method to Php in Android?



String MyJson = "{'fname' : 'example', 'email' : 'example@gmail.com'}";
HttpPost httppost = new HttpPost("http://example.com/getJson.php?json="+MyJson);

0 comments:

Post a Comment