This commit is contained in:
2026-06-24 14:40:43 +00:00
parent 22b05a7a1b
commit 7058970f98
80 changed files with 6383 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail
BASE_URL="${BASE_URL:-http://localhost:8080}"
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
mkdir -p "$ROOT_DIR/output"
curl -sS \
--request POST "$BASE_URL/render" \
--header 'Content-Type: application/json' \
--data-binary "@$ROOT_DIR/examples/sample-report.json" \
--output "$ROOT_DIR/output/sample-report.pdf"
echo "PDF: $ROOT_DIR/output/sample-report.pdf"