Open Corentin7301 opened 1 year ago
I'd love to have this feature as well!
Maybe related to #58?
Thanks for the feedback, everyone! This is coming.
Thanks for the feedback, everyone! This is coming.
Been loving the httpie app, curious whether this feature is still being worked on @jakubroztocil ? It's the main thing I'm missing from other clients.
Thanks for the feedback, everyone! This is coming.
Been loving the httpie app, curious whether this feature is still being worked on @jakubroztocil ? It's the main thing I'm missing from other clients.
@peterjskaltsis Yes, it is!
It’s been taking a while because it’s part of a larger project: A new runtime & scripting engine to be shared between the cloud and CLI, desktop, and web apps. This will lead to a robust and consistent experience across the platform.
(We know many folks are specifically waiting for the request chaining, so we might consider providing an interim ad-hoc implementation for the app if finishing the runtime takes too long.)
A more generic implementation could be achieved by making it possible to map response body attributes to env vars. Could be used for authentication or any other purpose by leveraging the env to hold the state between requests.
Checklist
Enhancement request
HI! I think it would be interesting to add a feature to get the auth token from other request automatically like Insomnia with body attribute response.
Problem it solves
I'm always frustrated when I must to generate manually a new token with login request, copy the token and paste it in the auth token input.
Additional information, screenshots, or code examples
In Insomnia:![CleanShot 2023-01-11 at 17 58 55@2x](https://user-images.githubusercontent.com/63867332/211869157-834a36bc-0f17-4f66-8526-d0108a51e812.png)