Python FastAPI Demo
Internal tools dashboard — sample curl commands and quick links.
Calculator
GET /api/calculatorSupported operators: p (+), m (-), d (/), x (*)
curl "http://localhost:8000/api/calculator?a=5&b=3&operator=p" curl "http://localhost:8000/api/calculator?a=10&b=2&operator=d"
System Info
GET /api/system/infoCPU / memory / disk / runtime details.
# Get system information (CPU/memory/disk/runtime) curl "http://localhost:8000/api/system/info"
State Controller
/api/stateList, fetch by abbreviation, and validate state codes.
# Get all US states curl "http://localhost:8000/api/state" # Get state by abbreviation curl "http://localhost:8000/api/state/CA" # Validate state code (returns valid, state, error) curl "http://localhost:8000/api/state/validate?code=CA"
Health
/health + /api/health/*Health, liveness, readiness, and version endpoints.
curl "http://localhost:8000/api/health" curl "http://localhost:8000/health" curl "http://localhost:8000/api/health/live" curl "http://localhost:8000/api/health/ready" curl "http://localhost:8000/api/version"