commit 1cec131bfb5d2164b15bfdf041f892ee41615aa5
parent 7c3663d087b6410d0eec312a28d7a5278f83fa0f
Author: MS <ms@taler.net>
Date: Fri, 17 Jul 2020 18:44:05 +0200
apikey
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/taler-config-instances b/bin/taler-config-instances
@@ -1,6 +1,7 @@
#!/usr/bin/env python3
from requests import post
+from requests.auth import HTTPBasicAuth
from os import environ
from sys import exit
@@ -36,7 +37,7 @@ blog_config = dict(
)
expectResponse(
- post(INSTANCE_CONFIG_URL, json=blog_config),
+ post(INSTANCE_CONFIG_URL, json=blog_config, auth=HTTPBasicAuth("ApiKey", "sandbox")),
204
)