Correct request method

This commit is contained in:
pprietosanchez 2020-02-28 16:25:19 +01:00
parent 52eb62a911
commit a2d98d38e2

View File

@ -28,7 +28,7 @@ def forward_request():
'X-API-KEY': pdns_api_key 'X-API-KEY': pdns_api_key
} }
url = urljoin(pdns_api_url, request.path) url = urljoin(pdns_api_url, request.full_path)
resp = requests.request(request.method, resp = requests.request(request.method,
url, url,