Torn between being explicit or giving an example that shows the bad practice of hard coding.
							parent
							
								
									3fcb1b20df
								
							
						
					
					
						commit
						c195ed3b0c
					
				| 
						 | 
					@ -186,9 +186,9 @@ Your HTTP method call may require additional headers for Authorization, ContentT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
...
 | 
					...
 | 
				
			||||||
  myusername='admin@dnsprovider.com'
 | 
					  myusername="$DNS_API_username"
 | 
				
			||||||
  mypassword='secret_password'
 | 
					  mypassword="$DNS_API_password"
 | 
				
			||||||
  mycredentials="$(printf "%s" "$MIAB_Username:$MIAB_Password" | _base64)"
 | 
					  mycredentials="$(printf "%s" "$myusername:$mypassword" | _base64)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  export _H1="Authorization: Basic $mycredentials"
 | 
					  export _H1="Authorization: Basic $mycredentials"
 | 
				
			||||||
  export _H2="ContentType: application/json"
 | 
					  export _H2="ContentType: application/json"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue