9 lines
271 B
Python
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}") |