tools-catalog.sh 405 B

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