Files
flow-manager/verify_script.sh
2026-01-27 17:40:37 +01:00

14 lines
260 B
Bash
Executable File

#!/bin/bash
set -e
BASE_URL="http://localhost:3000/api/v1"
echo "1. Parsing Script..."
RESPONSE=$(curl -s -X POST "$BASE_URL/scripts/parse" \
-H "Content-Type: multipart/form-data" \
-F "file=@test_script.txt")
echo "Response:"
echo "$RESPONSE" | jq .