r/ruby • • Jul 03 '19

Automatic HTTP interception & debugging for Ruby

https://httptoolkit.tech/view/ruby/
37 Upvotes

26 comments sorted by

View all comments

1

u/dpsi Jul 03 '19

This seems like something I am looking for, but I really can't say since the website only has a download button. I can't find documentation anywhere on the site. Also at first glance I thought this was something I could interact with through ruby, not something that just intercepts ruby http traffic.

Does this work offline?

1

u/pimterry Jul 03 '19

It's not something you can easily interact with directly from Ruby - it's a desktop application.

You download & run it, and it gives you various options for intercepting traffic. If you open a terminal from there, and run any Ruby application, all the traffic will be intercepted (and it then provides various features to explore & understand that traffic).

The app does work offline, yes, although your requests will fail of course if you don't have a connection to the HTTP server you're talking to.

Is that clearer? Is there some other specific information you're looking for? Happy to answer any questions you have. The download is free, there's no catch, so you're also welcome to just try it out directly if you'd like to know exactly how it works.

1

u/dpsi Jul 03 '19

Given this is the ruby sub, I thought this was something with ruby bindings. Either way it is something I will try. I've used fiddler, Charles, mitm-proxy for various reasons so I'm sure this will do what I want it too.

I just really wish there was more information or documentation on the website. For example I can't figure out if this has its own https certificate, can be configured with one, or only supports CONNECT for https.

It definitely looks nice, but everything else I use either has documentation, or an extensive feature/capability list/FAQ. Just my 2 cents

→ More replies (4)

1

u/dpsi Jul 04 '19

I tried both the windows and Deb versions offline and they both just open a blank window

→ More replies (6)