diff --git a/app/src/main/java/com/vishnusivadas/advancedhttpurlconnection/MainActivity.java b/app/src/main/java/com/vishnusivadas/advancedhttpurlconnection/MainActivity.java index ce9e37b..f7ef9d6 100644 --- a/app/src/main/java/com/vishnusivadas/advancedhttpurlconnection/MainActivity.java +++ b/app/src/main/java/com/vishnusivadas/advancedhttpurlconnection/MainActivity.java @@ -67,7 +67,7 @@ public void run() { String[] data = new String[2]; data[0] = "data-1"; data[1] = "data-2"; - PutData putData = new PutData("https://projects.vishnusivadas.com/AdvancedHttpURLConnection/putDataTest.php", "GET", param, data); + PutData putData = new PutData("https://projects.vishnusivadas.com/AdvancedHttpURLConnection/putDataTest.php", "POST", param, data); if (putData.startPut()) { if (putData.onComplete()) { String result = putData.getResult();