Print response only for debugging.

This commit is contained in:
Roy Kaldung 2018-08-23 07:28:27 +02:00
parent 2bfa42e2f5
commit e34589706c

View File

@ -41,8 +41,8 @@ dns_http_net_add() {
] ]
}' "$HTTP_NET_AUTHTOKEN" "$_domain" "$fulldomain" "$txtvalue") }' "$HTTP_NET_AUTHTOKEN" "$_domain" "$fulldomain" "$txtvalue")
_post "$payload" "${HTTP_NET_API}/zoneUpdate" "" "POST" "text/json" response="$(_post "$payload" "${HTTP_NET_API}/zoneUpdate" "" "POST" "text/json")"
_debug response "$response"
} }
dns_http_net_rm() { dns_http_net_rm() {
@ -66,7 +66,8 @@ dns_http_net_rm() {
] ]
}' "$HTTP_NET_AUTHTOKEN" "$_domain" "$fulldomain" "$txtvalue") }' "$HTTP_NET_AUTHTOKEN" "$_domain" "$fulldomain" "$txtvalue")
_post "$payload" "${HTTP_NET_API}/zoneUpdate" "" "POST" "text/json" response="$(_post "$payload" "${HTTP_NET_API}/zoneUpdate" "" "POST" "text/json")"
_debug response "$response"
} }
#_acme-challenge.www.domain.com #_acme-challenge.www.domain.com