gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: in examples, replace curl(1) w/ http


From: gnunet
Subject: [taler-docs] branch master updated: in examples, replace curl(1) w/ http(1) invocations (httpie)
Date: Wed, 23 Dec 2020 04:31:07 +0100

This is an automated email from the git hooks/post-receive script.

ttn pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 8b56c12  in examples, replace curl(1) w/ http(1) invocations (httpie)
8b56c12 is described below

commit 8b56c12d1845b044df381e3cc60bd1e7d8387f9c
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Tue Dec 22 22:29:24 2020 -0500

    in examples, replace curl(1) w/ http(1) invocations (httpie)
---
 libeufin/concepts.rst | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/libeufin/concepts.rst b/libeufin/concepts.rst
index 157d6fe..a0f2bb7 100644
--- a/libeufin/concepts.rst
+++ b/libeufin/concepts.rst
@@ -67,7 +67,8 @@ Examples:
 .. code-block:: console
 
   # Download latest transactions via the default bank connection and store 
them locally
-  $ curl -XPOST $AUTHEADER 
https://example1.libeufin.tech/bank-accounts/my-acct/fetch-transactions
+  $ http -a $USER:$PASSWORD POST \
+      https://example1.libeufin.tech/bank-accounts/my-acct/fetch-transactions
 
 Bank Connections
 ----------------
@@ -101,12 +102,14 @@ Examples:
 .. code-block:: console
 
   # Manually request the inter-day account report via the EBICS C52 order
-  $ curl -XPOST $AUTHEADER 
https://example1.libeufin.tech/bank-connections/my-ebics-testacct/ebics/download/C52
+  $ http -a $USER:$PASSWORD POST \
+      
https://example1.libeufin.tech/bank-connections/my-ebics-testacct/ebics/download/C52
 
   # Download available bank accounts that can be accessed through this 
connection,
   # according to the bank server (with EBICS, does a HTD request).
   # For each of them, create a bank account resource in LibEuFin.
-  $ curl -XPOST $AUTHEADER 
https://example1.libeufin.tech/bank-connection/my-ebics-testacct/fetch-accounts
+  $ http -a $USER:$PASSWORD POST \
+      
https://example1.libeufin.tech/bank-connection/my-ebics-testacct/fetch-accounts
 
 Facades
 -------
@@ -129,7 +132,8 @@ Examples:
 .. code-block:: console
 
   # Request the Taler-specific history through the facade
-  $ curl $AUTHEADER 
https://example1.libeufin.tech/facades/my-taler-wire-gw/taler/history/incoming
+  $ http -a $USER:$PASSWORD \
+      
https://example1.libeufin.tech/facades/my-taler-wire-gw/taler/history/incoming
 
 Access Control
 ==============

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]