cli icon indicating copy to clipboard operation
cli copied to clipboard

Support httpie in Chrome DevTools

Open tomers opened this issue 3 years ago • 1 comments

This is not httpie tool request per-se, instead as an avid user of the httpie tool, I find it frustrating that in the network tab of the Chrome DevTools, there's an option in the context menu of a request to copy it as a Curl or Fetch command line, but not as Httpie command line. It would be great if anyone from this community will work on a browser extension to support that!

tomers avatar Jul 27 '22 16:07 tomers

I think it might be possible to add it to DevTools directly. Planning to look into it at some point. Here’s the ‘Copy as curl’ implementation in DevTools:

https://github.com/ChromeDevTools/devtools-frontend/blob/9b555a1251af22350c65966e094a3d74c4eee135/front_end/panels/network/NetworkLogView.ts#L2095-L2203

jkbrzt avatar Jul 27 '22 17:07 jkbrzt