aboutsummaryrefslogtreecommitdiff
path: root/curl/notification-to-msg/to_standalone.sh
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-12-05 09:23:03 +0100
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-12-05 09:23:03 +0100
commit6b2201998fd4c2404e52c63b40b3f60c2dc126d1 (patch)
tree5c91361fee2e3ba2eefc0662cda6d1d6c7b42ad5 /curl/notification-to-msg/to_standalone.sh
parentcf90865ce21f246a0358fd291324f511c5ed6e90 (diff)
downloadmoa-zs-6b2201998fd4c2404e52c63b40b3f60c2dc126d1.tar.gz
moa-zs-6b2201998fd4c2404e52c63b40b3f60c2dc126d1.tar.bz2
moa-zs-6b2201998fd4c2404e52c63b40b3f60c2dc126d1.zip
Add Two Curl Examples to send msg:DeliveryNotifications to MOAZS
- Warning: Signatures of examples are not valid.
Diffstat (limited to 'curl/notification-to-msg/to_standalone.sh')
-rwxr-xr-xcurl/notification-to-msg/to_standalone.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/curl/notification-to-msg/to_standalone.sh b/curl/notification-to-msg/to_standalone.sh
new file mode 100755
index 0000000..1b7e96b
--- /dev/null
+++ b/curl/notification-to-msg/to_standalone.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+curl -v --header "Content-Type: text/xml;charset=UTF-8" --header "SOAPAction: \"\"" http://localhost:8080/services/msg --data-binary @notification.xml