httpie / cli

🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.
https://httpie.io
BSD 3-Clause "New" or "Revised" License
32.74k stars 3.68k forks source link

Support httpie in Chrome DevTools #1425

Open tomers opened 1 year ago

tomers commented 1 year ago

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!

jkbrzt commented 1 year ago

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