Http method selectable

This commit is contained in:
2023-12-12 23:40:12 +01:00
parent 1b8dc5de5f
commit 3f76813e80
5 changed files with 24 additions and 25 deletions

View File

@@ -22,7 +22,7 @@ public class AsyncTasks
try
{
String result = Miscellaneous.downloadURL("https://server47.de/automation/?action=getLatestVersionCode", null, null).trim();
String result = Miscellaneous.downloadURL("https://server47.de/automation/?action=getLatestVersionCode", null, null, ActivityManageActionTriggerUrl.methodGet).trim();
int latestVersion = Integer.parseInt(result);
// At this point the update check itself has already been successful.