mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 22:50:26 +00:00
Merge pull request #668 from pprietosanchez/fix_search_API_request
Correct request method
This commit is contained in:
commit
f2704649f1
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user