aboutsummaryrefslogtreecommitdiff
path: root/server/testdata/cmd/get-consistency-proof
blob: 206cb4c306b2c35c943763cdb920ac58aa617771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

set -eo pipefail
source config

first="1"
second="2"
if [[ ! -z $1 ]] && [[ ! -z $2 ]]; then
	first=$1
	second=$2
fi

info "sending get-consistency-proof request"
curl -G -d "first=$first" -d "second=$second" $base_url/get-consistency-proof
newline