summaryrefslogtreecommitdiff
path: root/test/test-simple.sh
blob: e797dd194a2649d25f9672c215311f078b939649 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

if [ -z "$1" ]; then
  echo "Usage: $0 <json-file>"
  exit 1
fi

curl -XPOST 'http://localhost:4000/public/simple' -d @$1

exit 0