eac61f7240536542eced7cbd3d9df46813de1bbd
[living-lab-site.git] / cis / post-json.sh
1 #!/usr/bin/env bash
2
3 if [ $# -ne 1 ]; then
4         echo "usage: $0 json_file" >&2
5         exit 1
6 fi
7
8 JSON_FILE="$1"
9
10 curl -H application/json --data-binary @"$JSON_FILE" http://localhost:8080/ingest_content