diff options
Diffstat (limited to 'tools/dhcpns/pdns.py')
-rw-r--r-- | tools/dhcpns/pdns.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dhcpns/pdns.py b/tools/dhcpns/pdns.py index 296a151..0e3b3ab 100644 --- a/tools/dhcpns/pdns.py +++ b/tools/dhcpns/pdns.py @@ -26,13 +26,13 @@ class PowerDNS: request = requests.post( self.base_url + uri, headers=headers, - data=kwargs + json=kwargs ) elif method == "PUT": request = requests.put( self.base_url + uri, headers=headers, - data=kwargs + json=kwargs ) elif method == "PATCH": request = requests.patch( |