Compare commits

...

3 Commits

Author SHA1 Message Date
Ramon
57e4d20969 Merge 5c2fb5006f into 15197455f2 2025-10-11 13:21:09 +02:00
conblem
5c2fb5006f Merge pull request #1 from conblem/jsonacmedns
add application/json to acmedns
2024-03-25 19:46:11 +01:00
conblem
b1d1e70a92 add application/json to acmedns 2024-03-19 11:39:58 +01:00

View File

@@ -71,7 +71,7 @@ dns_acmedns_add() {
data="{\"subdomain\":\"$ACMEDNS_SUBDOMAIN\", \"txt\": \"$txtvalue\"}"
_debug data "$data"
response="$(_post "$data" "$ACMEDNS_UPDATE_URL" "" "POST")"
response="$(_post "$data" "$ACMEDNS_UPDATE_URL" "" "POST" "application/json")"
_debug response "$response"
if ! echo "$response" | grep "\"$txtvalue\"" >/dev/null; then