httpyac icon indicating copy to clipboard operation
httpyac copied to clipboard

How to generate a unique value for the variable that will persist between requests?

Open Mirodil opened this issue 5 months ago • 0 comments

Hello,

How can I generate a unique value for the variable foo that will persist between requests? For example, I want to send @foo and have foo persist value for each request. Is it possible to generate a unique value for a global variable or for each session?

@bar={{$uuid}}
###
@foo=foo{{bar}}
###
GET https://httpbin.org/anything?foo={{foo}}
###
GET https://httpbin.org/anything?foo={{foo}}

Mirodil avatar Aug 28 '24 17:08 Mirodil