mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-28 19:06:12 +01:00
14 lines
250 B
Bash
14 lines
250 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -feu
|
||
|
|
||
|
cd "$(dirname "$0")"
|
||
|
|
||
|
. ../env.sh
|
||
|
|
||
|
curl -X POST \
|
||
|
-H "Content-Type: application/json" \
|
||
|
-H "Authorization: $PERF_AUTH_KEY" \
|
||
|
-d @export.json \
|
||
|
"$PERF_APP_URL/api/admin/state/import?drop=true&keep=false"
|