Comment

Comment by whiskeytuesday

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.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton