Skip to content

Template literal into options like --user #2577

Answered by jcamiel
fml09 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @fml09 ,

Template for basic auth is supported. The syntax is:

POST http://foo.com/login
[BasicAuth]
{{user}}: {{password}}
HTTP 200

The [BasicAuth] is part of the request specification and must be before HTTP 200 which is the marker of response section.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@fml09
Comment options

@jcamiel
Comment options

@fml09
Comment options

@jcamiel
Comment options

Answer selected by fml09
Comment options

You must be logged in to vote
2 replies
@jcamiel
Comment options

@fml09
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants