Replies: 1 comment 1 reply
-
I guess u got a solution? seems like it is 2023.5.6 but unsure how to find that. How do I find 2023.5.6? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm quite new to Insomnia and I love it so far.
However today I'm stuck on something.
I have this
Response
from the serverAs you can see there're two
set-cookie
headers. I don't care about the first one, I only want to be able to extract the second one in a variable inside myBase environment
so I can chain calls always using the latestXSRF-TOKEN
.But I can't figure out how to reference this second
set-cookie
header when I edit my tag, it's by default referencing the first oneI tried
set-cookie[1]
but this is invalid and I get this error message in theLive Preview
areaEven better instead of selecting a header based on its index, it would be awesome if I could select it with a Regex or something similar so I could always select the one starting with
XSRF-TOKEN=
for example.Is there a way to do this already?
If not, would that be possible to implement this new feature?
Thanks for your answers
(2023.5.6 is a great update by the way, just got it this morning)
Beta Was this translation helpful? Give feedback.
All reactions