9 lines
257 B
Bash
Executable File
9 lines
257 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Usage: ./inject.sh scenarios/fetch_profile_ozon.json
|
|
set -euo pipefail
|
|
FILE="${1:?usage: inject.sh <scenario.json>}"
|
|
curl -fsS http://127.0.0.1:8888/_admin/inject \
|
|
-H 'Content-Type: application/json' \
|
|
--data-binary @"$FILE"
|
|
echo
|