projects
/
living-lab-site.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cis: bugs fixed; start / stop / remove torrents commands implemented
[living-lab-site.git]
/
cis
/
post-json.sh
diff --git
a/cis/post-json.sh
b/cis/post-json.sh
index
eac61f7
..
1132520
100755
(executable)
--- a/
cis/post-json.sh
+++ b/
cis/post-json.sh
@@
-6,5
+6,6
@@
if [ $# -ne 1 ]; then
fi
JSON_FILE="$1"
fi
JSON_FILE="$1"
+CIS_URL="http://p2p-next-02.grid.pub.ro:8080/"
-curl -H
application/json --data-binary @"$JSON_FILE" http://localhost:8080/
ingest_content
+curl -H
'Content-Type: application/json' --data-binary @"$JSON_FILE" ${CIS_URL}
ingest_content