diff options
author | Ole Mathias Heggem <olemathias.aa.heggem@gmail.com> | 2023-04-01 10:48:21 +0200 |
---|---|---|
committer | Ole Mathias Heggem <olemathias.aa.heggem@gmail.com> | 2023-04-01 10:48:21 +0200 |
commit | 23cceabc42f16ce00d155d861614ea72420b19fd (patch) | |
tree | c9ed830f7dcd999794acec4c9eba4dedc0d9993c /tools/dhcpns/pdns.py | |
parent | 715206a50b9cb80d2ff4b17556bc6fae3538e9f3 (diff) |
dhcpns update
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( |