Skip to content

Commit b1d1e70

Browse files
committed
add application/json to acmedns
1 parent 6e14a07 commit b1d1e70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dnsapi/dns_acmedns.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ dns_acmedns_add() {
7171
data="{\"subdomain\":\"$ACMEDNS_SUBDOMAIN\", \"txt\": \"$txtvalue\"}"
7272

7373
_debug data "$data"
74-
response="$(_post "$data" "$ACMEDNS_UPDATE_URL" "" "POST")"
74+
response="$(_post "$data" "$ACMEDNS_UPDATE_URL" "" "POST" "application/json")"
7575
_debug response "$response"
7676

7777
if ! echo "$response" | grep "\"$txtvalue\"" >/dev/null; then

0 commit comments

Comments
 (0)