From f10bf09ad96b8bab7eff07af8d89c7cc0c0656fb Mon Sep 17 00:00:00 2001 From: MS Date: Thu, 23 Jul 2020 19:13:29 +0200 Subject: remove the old check-payment --- talermerchantdemos/httpcommon/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'talermerchantdemos/httpcommon/__init__.py') diff --git a/talermerchantdemos/httpcommon/__init__.py b/talermerchantdemos/httpcommon/__init__.py index df84e99..fca615f 100644 --- a/talermerchantdemos/httpcommon/__init__.py +++ b/talermerchantdemos/httpcommon/__init__.py @@ -56,9 +56,11 @@ def backend_post(backend_url, endpoint, json): # if something unexpected happens. def backend_get(backend_url, endpoint, params): headers = {"Authorization": "ApiKey sandbox"} + final_url = urljoin(backend_url, endpoint) + print("GETting: " + final_url) try: resp = requests.get( - urljoin(backend_url, endpoint), params=params, headers=headers + final_url, params=params, headers=headers ) except requests.ConnectionError: err_abort(500, message="Could not establish connection to backend") -- cgit v1.2.3