genericrestapiservice-cy9mbb/test_health_endpoint.sh

7 lines
329 B
Bash
Executable File

#!/bin/bash
echo "Testing health endpoint on port 8001..."
echo "GET /health HTTP/1.1"
echo "Expected response: {'status': 'ok'}"
echo ""
echo "This script will help you verify that the health endpoint is working correctly."
echo "Run this script after starting the application with 'uvicorn main:app --host 0.0.0.0 --port 8001'"