3 ms·
I haven't used it myself, but there is an option to parse responses with JavaScript and set variables. GET https://httpbin.org/get > {% client.glo
by kozziollek 4y ago
I haven't used it myself, but there is an option to parse responses with JavaScript and set variables.
GET https://httpbin.org/get
> {%
client.global.set("my_cookie", response.headers.valuesOf("Set-Cookie")[0]);
%}
https://www.jetbrains.com/help/idea/exploring-http-syntax.html#response-handling https://www.jetbrains.com/help/idea/exploring-http-syntax.ht...
- philliphaydon 4y agoInteresting. I have 2 endpoints (login and get settings) I use for testing in a desktop app and sometimes firing up insomnia for that project is a hassle. But rider has that rest client too so maybe I’ll try it for this one thing.