|
Hello. I would like to insert template strings into options like Basic as described below. It seems that the current latest version of hurl does not support this feature. Is there a chance that this functionality might be added in the future? GET https://{{URL}}/
HTTP 200
[BasicAuth]
{{key}}: {{secret}} |
Answered by
jcamiel
Mar 24, 2024
Replies: 2 comments 6 replies
|
Hi @fml09 , Template for basic auth is supported. The syntax is: POST http://foo.com/login
[BasicAuth]
{{user}}: {{password}}
HTTP 200The |
4 replies
Answer selected by
fml09
|
Hi @fml09 With #2585, you can now use POST https://sts.amazonaws.com/
x-amz-security-token: {{TOKEN}}
[Options]
aws-sigv4: {{TEST}}
user: {{user}}:{{password}}
[FormParams]
Action: GetCallerIdentity
Version: 2011-06-15
HTTP 200 |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @fml09 ,
Template for basic auth is supported. The syntax is:
The
[BasicAuth]is part of the request specification and must be beforeHTTP 200which is the marker of response section.