diff --git a/Scripts/API_Tests/api-healthcheck.py b/Scripts/API_Tests/api-healthcheck.py new file mode 100644 index 00000000..3d303209 --- /dev/null +++ b/Scripts/API_Tests/api-healthcheck.py @@ -0,0 +1,12 @@ +import requests +import Apikeys + +APIKEY = Apikeys.NORMSANDBOX +BASEURL = [ "https://app2.northpass.com/healthcheck", "https://api2.northpass.com/healthcheck"] +HEADERS = { "X-Api-Key": APIKEY } + +for url in BASEURL: + response = requests.get(url, headers=HEADERS) + print(f"Response for {url}") + print(response.text) + print(response.status_code)