-
|
Why does hurl expect environment variables to be prefixed with This is quite annoying because everywhere else variable names are taken at face value. If I have a variable Hurl on the other hand wants them prefixed, which leads to duplication and special treatment when I want to share some settings between requests and other processes |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
Hi, The why is more a convention that we try to respect regarding env variables. curl: grep: Java: More modern : brew (macos) That said, I can't say I know "everywhere else" 😅 and it's always interesting to see how other adress the same problem. Do you have example of such features in other CLI tools (just for comparison)? Note: just to precise the actual Hurl usage, define such a variable GET {{endpoint}}
HTTP 200doc: https://hurl.dev/docs/templates.html#injecting-variables |
Beta Was this translation helpful? Give feedback.
-
|
At any time, we can also easily log/check which variables is being in Hurl. |
Beta Was this translation helpful? Give feedback.
Hi @tpluscode , a quite late response to your suggestion, we're indedd going to add support for this kind of configuration (
HURL_INSECUREfor--insecure) see #3901 (comment)