Idea: $? evaluation in report URL

In the Duplicacy Web UI, Backup section, there is a “Send report after completion” feature – the user can enter an URL, and Duplicacy will make a HTTP POST request to the specified URL, with a JSON summary in the request body.

With CLI tools, it is common to use command’s exit code to decide if the command succeeded or failed. In shell scripts, the $? variable contains the exit code of the most recent command, and followup commands can use it.

The idea: if the report URL contains “$?”, treat it as a placeholder and evaluate it the same way as bash would. Motivation: this would allow to easily report success/failure to healthchecks.io, using URLs like

https://hc-ping.com/<uuid>/$?

I understand this would be a niche feature, and the success/failure can already be determined by inspecting the JSON payload, but throwing it out anyway :slight_smile: