X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?p=living-lab-site.git;a=blobdiff_plain;f=cis%2Fpost-json.sh;fp=cis%2Fpost-json.sh;h=11325201157a0bf40a2899eb1373532c7c267fc4;hp=eac61f7240536542eced7cbd3d9df46813de1bbd;hb=9d5e17576e133645963b8e41083baf235c5cceba;hpb=e487ab3d510e231706a1c0973973496beb25d2ff diff --git a/cis/post-json.sh b/cis/post-json.sh index eac61f7..1132520 100755 --- a/cis/post-json.sh +++ b/cis/post-json.sh @@ -6,5 +6,6 @@ if [ $# -ne 1 ]; then 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