got PATCH method working. Needs complicated input.
This commit is contained in:
8
dsc.py
8
dsc.py
@ -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.
|
||||
|
Reference in New Issue
Block a user