Closed st11x closed 1 year ago
I was able to trigger this error on my end, but it was justified in this case. The variable was really not defined. Can you possibly make me a simple example, how I reenact it. For example, were different environments used and therefore the variable is.
GET https://httpbin.org/anything HTTP/1.1
X-Header: {{header}}
@AnWeber I have created a very small example.
If you generate code from run.http, it will complain that the host is not defined, but if you ran the request, it works fine.
thanks Matt
Thx will look into it tomorrow
Unfortunately, I can not repeat the error. In my case the code generation was triggered correctly.
@AnWeber Thanks for checking. That is interesting. I installed both extensions from the Marketplace, not sure if there's any subtle differences there. I'll keep testing and let you know. Thanks.
Hi,
If I have variables defined in an external file, code generation is unable to find them even though the requests works. In the screenshot below, eshost is a variable that is imported.
Thanks Matt