Earlier quoted context omitted.
'nc localhost 80' FTFY
exec 5 "/dev/tcp/localhost/80" echo -ne "GET / HTTP/1.1\r\nHost: localhost\r\n\r\n" > &5 cat FTFY
Uses for cURL
61–70 of 75 posts
Re: Uses for cURL
#62Why do people like cURL? I've regularly found it to have stupid defaults compared to wget. Is it because it's default on Mac and wget isn't?
cURL is worth learning in my experience because it is bulletproof, ubiquitous, fast, highly-configurable, and comprehensive. No other option listed in here are all of those things, though they are all easier to use. But start talking about SOCKS5 proxies or FTPS and all of a sudden you have to start monkey patching your (pretty) tool or, you know, learning curl. Seriously how often are you guys performing PUTs and DE…
Re: Uses for cURL
#63Re: Uses for cURL
#64Re: Uses for cURL
#65btw: nice overview!
Re: Uses for cURL
#66I knew 8 of the 9, but the one I didn't (testing virtual hosts) was worth the cost of reading the entire article. Thanks.
Re: Uses for cURL
#67Curl is great to have, but remembering all the options flags is a pain. Nowadays I use: Chrome: "Postman" extension Firefox: "REST Client" addon ...both great utilities for creating and saving any HTTP request you need.
Re: Uses for cURL
#68Re: Uses for cURL
#69Earlier quoted context omitted.
I'd be interested to know exactly what you mean (I usually don't really get sarcasm). It seems that you think this advice is useless, or that people never use the command line, or something, but I don't really know what. Could you be more specific? I find it useful to understand different points of view. Thanks
Site is "Hacker News", not "How-tos for dummies", last time I checked. Do we really need this kind of stuff in home page? Hardly so. What about an article on how to create a three columns layout with CSS? Or how to edit a file using a text editor? Come on... how to use curl? Really?
I will admit that I am not familiar with curl and I found this helpful and enlightening. If you don't find it useful, then just move on. We come to HKN to learn about the other aspects that we are not familiar with. Just be mindful that not everyone have the same expertise.
Re: Uses for cURL
#70I would strongly suggest HTTPie for the majority of these tasks: https://github.com/jkbr/httpie