Skip to content

Commit 7b407f4

Browse files
author
diepm
authored
Merge pull request #76 from jrop/jrop-patch-2
README.md: Demonstrate use of environment variables
2 parents bb30a85 + d10ef34 commit 7b407f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,8 @@ headers. Local headers are merged with and overwrite global headers.
273273

274274
VRC now supports variable declarations in the global scope. These variables
275275
then can be used in the query paths, headers, and the body. Notice: values
276-
are not url-encoded.
276+
are not url-encoded. Variables can contain static text, or reference an
277+
environment variable:
277278

278279
# Global scope.
279280
http://host
@@ -283,6 +284,7 @@ are not url-encoded.
283284
city = Some%20City
284285
zip = 12345
285286
population = 42
287+
restpassword = $SECRET_ENV_VAR
286288
--
287289
# End global scope.
288290

0 commit comments

Comments
 (0)