commit
This commit is contained in:
13
verify_script.sh
Executable file
13
verify_script.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
|
||||
#!/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 .
|
||||
Reference in New Issue
Block a user