From c195ed3b0cda91f84e0372a7a96ce30d18d93e3d Mon Sep 17 00:00:00 2001 From: Bill Gertz Date: Mon, 14 Oct 2019 12:03:45 +0200 Subject: [PATCH] Torn between being explicit or giving an example that shows the bad practice of hard coding. --- DNS-API-Dev-Guide.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DNS-API-Dev-Guide.md b/DNS-API-Dev-Guide.md index 222097c..6d6ed88 100644 --- a/DNS-API-Dev-Guide.md +++ b/DNS-API-Dev-Guide.md @@ -186,9 +186,9 @@ Your HTTP method call may require additional headers for Authorization, ContentT ``` ... - myusername='admin@dnsprovider.com' - mypassword='secret_password' - mycredentials="$(printf "%s" "$MIAB_Username:$MIAB_Password" | _base64)" + myusername="$DNS_API_username" + mypassword="$DNS_API_password" + mycredentials="$(printf "%s" "$myusername:$mypassword" | _base64)" export _H1="Authorization: Basic $mycredentials" export _H2="ContentType: application/json"