curl in onos-cfg wants uppercase post as parameter

Change-Id: Ief206ef3029baff98d1c91255044baf2d3543644
(cherry picked from commit 782e154be0edcb018cdb64e1a55219d5081a095b)
diff --git a/tools/package/runtime/bin/onos-cfg b/tools/package/runtime/bin/onos-cfg
index abb3be6..ad86718 100755
--- a/tools/package/runtime/bin/onos-cfg
+++ b/tools/package/runtime/bin/onos-cfg
@@ -48,7 +48,7 @@
         ${curl} -X GET ${URL} && echo;;
     post|delete)
         checkJson "$file"
-        $curl -X $cmd -H 'Content-Type:application/json' ${URL} -d@$file && echo;;
+        $curl -X $(echo ${cmd} | tr '[:lower:]' '[:upper:]') -H 'Content-Type:application/json' ${URL} -d@$file && echo;;
     *) usage && exit 1;;
 esac