-
Notifications
You must be signed in to change notification settings - Fork 1.9k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
[Feature Request] Export individual request #538
Comments
That's a great idea. Would you be interested in submitting a PR to add that functionality? I'd be happy to help out with guidance if needed. |
@gschier I wouldn't know where to begin. I have not learned JS yet. |
No worries. The reason I ask is that it's a fairly easy feature but I probably won't be able to get to it for a while. Would be perfect for a first-time contributor. |
@gschier Hi, I've been thinking about the same functionality for some weeks. I know some JS but I'm no expert. Anyways, I'm up for it if you provide me some initial guidance. I owe you a debt of gratitude after you implemented Custom Timestamps after just one personal mail. |
Hey @Kshmire. Sorry, I missed your comment. I would be happy to provide guidance. However, I have one question that I think should be discussed before moving forward on this. What do we do with variables when exporting a single request?Solution 1: Solution 2: Any feedback here would be appreciated. |
I vote for rendering fully. It's only a single request, the person
receiving the export can add their own environment variables after they
import.
…On Nov 19, 2017 8:40 AM, "Gregory Schier" ***@***.***> wrote:
Hey @Kshmire <https://github.com/kshmire>. Sorry, I missed your comment.
I would be happy to provide guidance. However, I have one question that I
think should be discussed before moving forward on this.
What do we do with variables when exporting a single request?
*Solution 1:*
The easiest solution would be to export the request as-is but that could
cause problems. For example, the person who imports the request may not
have the necessary environment variables defined. This would also cause
problems if the request references data from another request (Response Body
Tag).
*Solution 2:*
Another potential solution would be to render the entire request before
exporting. This is what Insomnia does for code generation. This would make
it work wherever it's imported no matter what.
Any feedback here would be appreciated.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#538 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMsq77DGQdL8yPEGWhZ0bYFLggoqRlscks5s4D3SgaJpZM4QC6b->
.
|
There's also the possibility of doing both solution 1 and 2. Check & see if the environment variables exist or not upon importing. If not, import the raw render. if so, use the env-vars that are available. Only use the env-vars if their names are an exact match. |
Ya, I think fully rendered is the best and simplest option for now. Your suggestion of exporting both at once is interesting. However, it's probably worth doing the simple one first. @Kshmire, you still interested in taking a crack at this? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
If you could write up some guidance, I will take a shot at this. |
@gschier still open for help on this? Can't let my postman co-workers take jabs at me for not having this feature! |
Have at it.
…On Mon, May 13, 2019, 7:48 PM Jason ***@***.***> wrote:
@gschier <https://github.com/gschier> still open for help on this? Can't
let postman off the hook that easily!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#538>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADFSV3ZDDAHDVJ5M3OJ4AXLPVID7HANCNFSM4EALU37A>
.
|
I'm still open to this if someone wants to pick it up 👌🏻 Sent with GitHawk |
As an update I reached out to @gschier about a week ago via Twitter to get more context and thoughts on this solution so I can implement this in the simplest and most efficient way first time around. Have yet to hear back. @gschier is there a better way to contact you and discuss? Only looking for a high level opinions/suggestions since you know the app better than anyone. Thanks |
Any update on this? I'm surprised this still isn't a feature yet. It's unfortunate that the only workaround is to create an entirely new workspace just to put one single request inside it |
@gschier I'll have a go at this, if ok? I'll start by trying to complete solution 2, the simple, fully rendered version. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I think it'd be helpful if I could right click one of my calls, and export it individually for one of my co-workers. With this, also the ability to import an individual call would be needed.
Thanks,
Wayne
The text was updated successfully, but these errors were encountered: