[CORD-2639] Moving Progran to 5.0
Change-Id: Ia838ade6b7cd8e7b4c04ae939e27d5b2dbf16896
diff --git a/samples/progran-curl.sh b/samples/progran-curl.sh
new file mode 100644
index 0000000..7353fd0
--- /dev/null
+++ b/samples/progran-curl.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+XOS_URL=127.0.0.1
+XOS_PORT=9101
+XOS_USERNAME=xosadmin@opencord.org
+XOS_PWD=ORR13pBZ8yrAZ42QiKhc
+
+echo Sending file $2 to url $XOS_URL:$XOS_PORT/xosapi/v1/$1
+
+curl -H "xos-username: $XOS_USERNAME" -H "xos-password: $XOS_PWD" -X POST --data-binary @$2 http://$XOS_URL:$XOS_PORT/xosapi/v1/$1