Add first work package for REST API implementation
[anna.git] / example / diameter / launcher / deployments / advanced / decode.sh
index 3924f73..e771612 100755 (executable)
@@ -1,8 +1,4 @@
 #!/bin/bash
-> curl_log.txt
-TRACE="--trace-ascii curl_log.txt"
-SERVER=`cat .httpServer`
-
 use () {
 
    echo "Use: $0 <hex_file>"
@@ -16,6 +12,5 @@ echo
 [[ "$1" = "" ]] && use
 [[ ! -f "$1" ]] && { echo "ERROR: file '$1' not found" ; echo; echo; exit ; }
 echo
-operation="decode|$1|${1}.xml"
-curl -m 1 --data "$operation" $TRACE ${SERVER}
+./operation.sh "decode|$1|${1}.xml"