diff --git a/assets/js/components/Config/Security/ApiKeyModal.vue b/assets/js/components/Config/Security/ApiKeyModal.vue index 39892ffca..9f7c6c943 100644 --- a/assets/js/components/Config/Security/ApiKeyModal.vue +++ b/assets/js/components/Config/Security/ApiKeyModal.vue @@ -127,9 +127,9 @@ export default defineComponent({ }, curlExample(): string { const key = this.revealedKey ?? ""; - const url = `${window.location.origin}/api/system/backup`; + const url = `${window.location.origin}/api/db/backup`; return [ - `curl -X POST ${url} \\`, + `curl -X GET ${url} \\`, ` -H "Authorization: Bearer ${key}" \\`, ` -o evcc-backup.db`, ].join("\n");