mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-07 18:54:12 +00:00
gandi_livedns: use PUT instead of POST for creating DNS record
This commit is contained in:
parent
9fcdca66fa
commit
1a10f5b173
@ -36,7 +36,7 @@ dns_gandi_livedns_add() {
|
||||
_debug domain "$_domain"
|
||||
_debug sub_domain "$_sub_domain"
|
||||
|
||||
_gandi_livedns_rest POST "domains/$_domain/records/$_sub_domain/TXT" "{\"rrset_ttl\": 300, \"rrset_values\":[\"$txtvalue\"]}"
|
||||
_gandi_livedns_rest PUT "domains/$_domain/records/$_sub_domain/TXT" "{\"rrset_ttl\": 300, \"rrset_values\":[\"$txtvalue\"]}"
|
||||
|
||||
return $?
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user