projects
/
living-lab-site.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
aaca00ea8d7ed029d22bb5f19d984ad46880de9a
[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
CIS_URL="http://p2p-next-03.grid.pub.ro:8080/"
10
11
curl -H 'Content-Type: application/json' --data-binary @"$JSON_FILE" ${CIS_URL}ingest_content