#!/usr/bin/env bash set -euo pipefail # Default demo backend URL. Override with: # BASE_URL=http://localhost:8080 ./scripts/demo-registration/tools-catalog.sh BASE_URL="${BASE_URL:-http://localhost:8080}" echo "GET ${BASE_URL}/tools/catalog" echo "Expected markers in catalog/demo responses: mock=true, status=success" curl -sS \ -H "Accept: application/json" \ "${BASE_URL}/tools/catalog" echo