Add first work package for REST API implementation
[anna.git] / example / diameter / launcher / deployments / advanced / code.sh
index 9ca200c..385dde1 100755 (executable)
@@ -1,7 +1,4 @@
 #!/bin/bash
-> curl_log.txt
-TRACE="--trace-ascii curl_log.txt"
-SERVER=`cat .httpServer`
 
 use () {
 
@@ -16,6 +13,5 @@ echo
 [[ "$1" = "" ]] && use
 [[ ! -f "$1" ]] && { echo "ERROR: file '$1' not found" ; echo; echo; exit ; }
 echo
-operation="code|$1|${1}.hex"
-curl -m 1 --data "$operation" $TRACE ${SERVER}
+./operation.sh "code|$1|${1}.hex"