-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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] Pipe Body before sending (for protobuf) #1619
Comments
👋 Thanks for opening your first issue! If you're reporting a 🐞 bug, please make sure To help make this a smooth process, please be sure you have first read the |
You can almost make a request hook plugin that does this.
As you can see, most of the pieces are in place to do this, except the last step. There is currently only a Thoughts on this approach, if it were possible? |
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. |
Hi, I do not really know how to apply the request hook plugin. Also, this seems a little cumbersome for creating a lot of requests. Have you tried it yourself? |
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. |
Hello stale bot, this feature is hereby still requested. |
There, now it won't close |
The reason I suggest a plugin is because it seems like it would be a fairly niche use case, and it would be really useful to be able to customize the integration with external tools. |
Sure, that would do. Sadly I don't know if I would be of any help. Thanks for looking into 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. |
tag |
Details
It would be nice feature if we were able to pipe the data from the body form (POST requests) through one or more external tools. That would enable protobuf support.
Maybe even ship with your own protobuf binary in the snap distribution.
Example
Example body:
Pipe command:
Either
${body} | protoc --encode=io.github.insomnia.ProtoClass -I../path/to/proto/definitions ProtoClass.proto | ${out}
or
protoc --encode=io.github.insomnia.ProtoClass -I../path/to/proto/definitions ProtoClass.proto < ${bodyFile} > ${outFile}
Related to #1311 which you probably haven't seen.
Would also enable proto, but you'd need to be able to load the JS proto definitions.
Thanks!
Use Cases
The text was updated successfully, but these errors were encountered: