got PATCH method working. Needs complicated input.

This commit is contained in:
2025-05-14 15:44:32 +02:00
parent fe1077bfce
commit 33cbbc0373
3 changed files with 82 additions and 13 deletions

8
dsc.py
View File

@ -1,8 +1,8 @@
from __future__ import print_function
import time
# import time
import powerdns_client
from powerdns_client.rest import ApiException
from pprint import pprint
# from pprint import pprint
from decouple import config
# Configure API key authorization: APIKeyHeader
@ -25,3 +25,7 @@ try:
# pprint(api_response)
except ApiException as e:
print("Exception when calling ConfigApi->get_config: %s\n" % e)
# må få skriving/endring til å fungere konsistent først...
#try:
# api_response = api_instance.