diff --git a/mpmaster/src/main/java/com/xypower/mpmaster/AppMaster.java b/mpmaster/src/main/java/com/xypower/mpmaster/AppMaster.java index 1a6e47e2..98fdf309 100644 --- a/mpmaster/src/main/java/com/xypower/mpmaster/AppMaster.java +++ b/mpmaster/src/main/java/com/xypower/mpmaster/AppMaster.java @@ -271,6 +271,9 @@ public class AppMaster { httpURLConnection = (HttpURLConnection) url.openConnection(); httpURLConnection.setConnectTimeout(15000); httpURLConnection.setReadTimeout(15000); + + httpURLConnection.setRequestProperty("Content-Type", "application/json"); + try { httpURLConnection.setRequestMethod("POST"); } catch (Exception ex) {