Skip to content

Multiple variable definition  #52

@CTBT

Description

@CTBT

Describe the bug
When i generate the .http file with the output-type set to "OneFile" the generated file contains several requests that define a variable with the same name. This leads to multiple variable definition statements of the same variable which leads to an error.

`

foo

@id = 0

GET http://test.com/foo{{id}}

bar

@id = 0

GET http://test.com/bar{{id}}
`

Cannot execute request, because it references ambiguous variable 'id'

grafik

Support Key: [my-support-key]

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions