Support for setting variables based on response data
It would be nice to be able to set variables for a future request (or cd to a path) based on the previous response data. Something like JSONpath syntax would be simple yet effective:
Response body:
{
"id": "17f96808-886a-452e-bbc7-956d27c6cd9d",
...
}
> fooId=$.id
> cd $.id
Oh wow! I never thought this feature would be missing. That'd be a really huge improvement. I don't want to copy the data like JWT token all the time.
It has been 3 years, does anybody have any update on this? We started using httpie at work, but this is a feature I see lacking the most comparing to our previous API tool.
This is... a huge bummer. I was loving HTTPie until this haha
Unfortunately I had to switch back to Insomnia, Dynamic variables based on response body is critical for me.
also waiting this feature
I am also waiting for this feature to make httpie my main one
+1 this would be really helpful
waiting to implement something that already exists in the old insomnia
+1 this would be really helpful