Is there a way to perform http commands GET/PUT/SET whatever via a command line in ubuntu or windows xp? Preferably without installing 3rd party products. Being that http is text based I thought it would be alot easier to run in the cmd line.
I've been able to get what I want out of GET in ubuntu in bash via
$wget google.com
$cat index.html
This is kinda clunky. It would be nice to pipe the output or something, but even that isn't straight forward. C programs are fine too. I'm trying to do something like what we get with Fiddler, but more basic.
Go to the terminal and type this command sudo apt-get install w3m w3m-img . Type Y when asked to confirm. Now wait; it's just a matter of 3 MBs. Whenever you want to open a web page, go to the terminal and type w3m wikihow.com , with your destination URL in the place of wikihow.com as needed.
9 Command Line Tools for Browsing Websites and Downloading Files in Linux. In the last article, we have covered few useful tools like 'rTorrent', 'wget', 'cURL', 'w3m', and 'Elinks'.
W3M. w3m is a popular open-source text-based web browser for the terminal. Even though the original project is no longer active, an active version of it is being maintained by a different developer Tatsuya Kinoshita.
telnet google.com 80
GET / HTTP/1.0
Host: google.com
You have to hit return twice after the Host line. It doesn't get any more basic.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With