-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat Request] - Chaining request #132
Comments
Would love to add it. Seems a bit complex to implement. Will look into it. |
I am going to second this request. I have been using the deprecated no longer supported Insomnium all year, and I can't move away from it without being able to pull values from the response of another request. Restfox has everything I need EXCEPT this. I have searched every other rest client out there and none of them support this feature. My reasoning for wanting this feature is to handle my authentication flows without storing anything sensitive in environment variables that can end up in the git repo. Responses are ignored by default which is great, so pulling sensitive access tokens from the response directly rather than storing it in the environment has been a life saver with Insomnium. If you have a work around for this problem right now please let me know and I'll move to Restfox |
Hi @bjsvedin, currently there's no workaround. I'll prioritize this for the coming weeks. Will work on this when I get some time. |
Hi, response tag is now implemented that allows you to do the same thing as insomnia: You can test it at https://restfox.dev. Will be released for desktop in a day or two. |
|
|
|
Thanks for the reply! Then maybe we could add a hint or something so that user knows okay, that's normal behavior. |
Wow! I wasn't expecting you to outright lift the insomnia UI for this, so I am pleasantly surprised. I was expecting the functionality to be added into the script portion of the app. I would have been happy either way. I will give this some tests and set it up in my work flow. |
I have a few bugs/suggestions to report. When you use attribute body and need to wrap the resulting value is quotes this messes up the highlighting for the text following it. It is possible to insert a response tag and not get the UI button over it, rather it leaves the raw placeholder. This can easily be achieved if there are empty opening and closing placeholder characters. Suggestion 1: Suggestion 2: |
Bug 1: Might be in the same category as #228, so not sure if we can actually fix it without implementing custom syntax highlighting for JSON. Bug 2: I've pushed some fixes. They're deployed at: https://restfox.dev. Can you check and let me know if they're now resolved? Suggestion 1: Do you mean, you want to be able to use response tags in environment here? Suggestion 2: Sounds like a good idea. Even though it looks the same as insomnia, it's not really the same. |
Yes. For Suggestion 1 that is what I mean by using a response tag as an environment variable. |
I just tested out the the fix for bug 2, I am not able to recreate it anymore, but it seems another thing broke at the same time. Clicking save does in the responseTag dialog does not close it anymore. It does save, if i then click the X button to close it, then reopen it, the data will still be there. But if I try so send a request i get the error
|
I'm not able to recreate this issue. I can click save and it closes the dialog. Can you check the chrome devtools console using Ctrl + Shift + i to see if there's any error? Also, clicking on x will never save the data. When you reopen the tag, it should have original data itself. If possible, can you export the restfox workspace and attach it here, so I can check. |
Nvm, I don't have the issue anymore. I think it was a caching issue. I thought I had hard refreshed the page since the last time I used it, but maybe I didn't. |
Hi. This rocks! Needed exactly this to chain login + query. Thank you so much! |
Hi, I'm coming from the Insomnia world, there is one very useful feat that I'd love to see is https://docs.insomnia.rest/insomnia/chaining-requests. May I know if that would be added in the near future?
Thanks!
The text was updated successfully, but these errors were encountered: