3 ms·
Insomnia already does this, at least did as of version 2022.6.0. Right click on the name of the request in the sidebar to find "copy as curl" and "generate code
by whiskeytuesday 3y ago
Insomnia already does this, at least did as of version 2022.6.0. Right click on the name of the request in the sidebar to find "copy as curl" and "generate code", Ctrl+Shift+G also brings up the Generate Code interface.
I'll check if the more up to date version that insomnium is based on has the same feature once I get it built.
- whiskeytuesday 3y agoFinally got a build, at least on my machine the features are still there except you can't right click on the list items any more, you have to click the little ▼ next to the item.
- blacksmith_tb 3y agoWhen I went looking for alternatives to Insomnia I was pleasantly surprised to see that RecipeUI[1] will let paste in curl commands with various flags etc. and parse those to generate new entries, pretty slick. 1: https://github.com/RecipeUI/RecipeUI https://github.com/RecipeUI/RecipeUI
- Volbohel 3y agoHi, one of the makers of RecipeUI. Happy to hear this is something you liked! We're still finding edge cases when it comes to parsing cURL commands, so if you find any that we missed please file an issue or send us a message (here or discord). Also glad to hear any other feedback you have :)
- postalrat 3y agoThanks. I looked for that feature before in insomnia and didn't find it.