Skip to content

Commit

Permalink
add application/json to acmedns
Browse files Browse the repository at this point in the history
  • Loading branch information
conblem committed Mar 19, 2024
1 parent 6e14a07 commit b1d1e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsapi/dns_acmedns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1d1e70

Please sign in to comment.