TriggerUrl result stored in variable

This commit is contained in:
2023-12-21 16:40:11 +01:00
parent 605f85d215
commit 5f8ed5765a
13 changed files with 26 additions and 9 deletions

View File

@ -739,7 +739,7 @@ public class Action
method = parameters[3];
}
String response = "httpError";
String response = "HTTP_ERROR";
if(Settings.httpAttempts < 1)
Miscellaneous.logEvent("w", "HTTP Request", Miscellaneous.getAnyContext().getResources().getString(R.string.cantDownloadTooFewRequestsInSettings), 3);

View File

@ -986,6 +986,7 @@ public class Actions
public void useDownloadedWebpage(String result)
{
// Toast.makeText(context, "Result: " + result, Toast.LENGTH_LONG).show();
Actions.setVariable("LAST_TRIGGERURL_RESULT" + Action.actionParameter2Split + result);
}
public static HttpClient getInsecureSslClient(HttpClient client)