Merge pull request #668 from pprietosanchez/fix_search_API_request

Correct request method
This commit is contained in:
Khanh Ngo 2020-03-06 14:08:39 +07:00 committed by GitHub
commit f2704649f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,