Skip to content

Commit

Permalink
Merge pull request #76 from jrop/jrop-patch-2
Browse files Browse the repository at this point in the history
README.md: Demonstrate use of environment variables
  • Loading branch information
diepm authored Mar 22, 2019
2 parents bb30a85 + d10ef34 commit 7b407f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,8 @@ headers. Local headers are merged with and overwrite global headers.

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

# Global scope.
http://host
Expand All @@ -283,6 +284,7 @@ are not url-encoded.
city = Some%20City
zip = 12345
population = 42
restpassword = $SECRET_ENV_VAR
--
# End global scope.

Expand Down

0 comments on commit 7b407f4

Please sign in to comment.