[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libebics] branch master updated: Script for POSTing XML ca
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libebics] branch master updated: Script for POSTing XML can save responses in files. |
Date: |
Mon, 29 Oct 2018 11:03:26 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libebics.
The following commit(s) were added to refs/heads/master by this push:
new edab6c8 Script for POSTing XML can save responses in files.
edab6c8 is described below
commit edab6c890969ae8b0eaf90312a4f6a589e15741f
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Oct 29 11:02:09 2018 +0100
Script for POSTing XML can save responses in files.
---
src/post_xml.sh | 9 ++++++++-
src/sandbox_tests.c | 1 -
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/post_xml.sh b/src/post_xml.sh
index 61fb6ff..e08b9b4 100755
--- a/src/post_xml.sh
+++ b/src/post_xml.sh
@@ -12,4 +12,11 @@ curl \
-H"Content-Type: text/xml" \
-H"Expect:" \
-v \
- $URL
+ -s \
+ -o /tmp/response-${1} \
+ $URL && \
+printf "\n" && \
+printf "%s\n" "===== Response body =====" && \
+printf "\n" && \
+cat /tmp/response-${1} && \
+printf "\n\n"
diff --git a/src/sandbox_tests.c b/src/sandbox_tests.c
index 1eb11d0..f203eea 100644
--- a/src/sandbox_tests.c
+++ b/src/sandbox_tests.c
@@ -168,7 +168,6 @@ run ()
return;
}
-
/**
* INI
*/
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libebics] branch master updated: Script for POSTing XML can save responses in files.,
gnunet <=