|
|
@ -271,6 +271,9 @@ public class AppMaster {
|
|
|
|
httpURLConnection = (HttpURLConnection) url.openConnection();
|
|
|
|
httpURLConnection = (HttpURLConnection) url.openConnection();
|
|
|
|
httpURLConnection.setConnectTimeout(15000);
|
|
|
|
httpURLConnection.setConnectTimeout(15000);
|
|
|
|
httpURLConnection.setReadTimeout(15000);
|
|
|
|
httpURLConnection.setReadTimeout(15000);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
httpURLConnection.setRequestProperty("Content-Type", "application/json");
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
httpURLConnection.setRequestMethod("POST");
|
|
|
|
httpURLConnection.setRequestMethod("POST");
|
|
|
|
} catch (Exception ex) {
|
|
|
|
} catch (Exception ex) {
|
|
|
|