From 5f978e7ec77378d21a0a6b182878a960397936b3 Mon Sep 17 00:00:00 2001 From: Vishnu Sivadas Date: Wed, 24 Jun 2020 23:36:27 +0530 Subject: [PATCH] Initial commit --- .../vishnusivadas/advancedhttpurlconnection/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();