DslrDirector/test_health.py
2025-09-29 00:46:38 -07:00

9 lines
271 B
Python

import requests
try:
print("Testing /health endpoint...")
response = requests.get("http://127.0.0.1:8090/health", timeout=5)
print(f"Status Code: {response.status_code}")
print(f"Response: {response.text}")
except Exception as e:
print(f"Error: {e}")