You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
352 B
14 lines
352 B
|
|
|
|
set -e
|
|
for f in tx*.yml; do
|
|
echo f: $f
|
|
#cat $f | sed -e "s/$/%0a/g" | curl -s -X POST http://127.0.0.1:8089/api/0.0/istxvalid -d @-
|
|
cat $f | json_xs -f yaml | grep -v 'null' | curl -s -X POST http://127.0.0.1:8089/api/0.0/settx -d @-
|
|
echo ''
|
|
done
|
|
for f in tx*.json; do
|
|
cat $f | curl -s -X POST http://127.0.0.1:8089/api/0.0/settx -d @-
|
|
echo ''
|
|
done
|
|
|