gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: add HTTP Basic auth to ‘sandbox bankac


From: gnunet
Subject: [libeufin] branch master updated: add HTTP Basic auth to ‘sandbox bankaccount simulate-incoming-transaction’
Date: Wed, 26 Jan 2022 09:51:39 +0100

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

ttn pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 130edc1f add HTTP Basic auth to ‘sandbox bankaccount 
simulate-incoming-transaction’
130edc1f is described below

commit 130edc1fd917f51631d5414de16e78a943015fce
Author: Thien-Thi Nguyen <ttn@gnuvola.org>
AuthorDate: Wed Jan 26 03:50:00 2022 -0500

    add HTTP Basic auth to ‘sandbox bankaccount simulate-incoming-transaction’
---
 cli/bin/libeufin-cli | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/cli/bin/libeufin-cli b/cli/bin/libeufin-cli
index ce1b94d8..e05b15c6 100755
--- a/cli/bin/libeufin-cli
+++ b/cli/bin/libeufin-cli
@@ -1403,7 +1403,11 @@ def simulate_incoming_transaction(
         subject=subject,
     )
     try:
-        resp = post(url, json=body)
+        resp = post(
+            url,
+            json=body,
+            auth=auth.HTTPBasicAuth(obj.nexus_username, obj.nexus_password)
+        )
     except Exception as e:
         print(e)
         print("Could not reach sandbox")

-- 
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]