desktop
desktop copied to clipboard
Get auth token from other request automatically
Checklist
- [x] I've searched for similar feature requests.
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:
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.