> "If it doesn't load through curl, it's broken." --someone So, so true. Thanks, curl.
Curl, 17 years old today
51–60 of 100 posts
Re: Curl, 17 years old today
#52> "If it doesn't load through curl, it's broken." --someone So, so true. Thanks, curl.
Curl is great and all but I don't think this quote makes much sense. Are there examples of services that would, for example, load in a browser but not through curl? I'd think it's rather the opposite since you can through pretty much anything at curl and it will work.
Re: Curl, 17 years old today
#53Earlier quoted context omitted.
Curl is great and all but I don't think this quote makes much sense. Are there examples of services that would, for example, load in a browser but not through curl? I'd think it's rather the opposite since you can through pretty much anything at curl and it will work.
Anything that requires JavaScript to fetch and display content.
Re: Curl, 17 years old today
#54I'm surprised it's so new. And wget is only a year older... what did people use before then?
Re: Curl, 17 years old today
#55I'm surprised it's so new. And wget is only a year older... what did people use before then?
Sometimes just plain telnet . It wasn't pretty, but it worked: $ telnet 80 GET / It should be noted that the above isn't a strict HTTP request header, it's missing quite a lot of detail, but it works as an example.
Re: Curl, 17 years old today
#56> Rough estimates say we may have a billion users already. This cannot be true by a long shot. Or am I missing something?
If you count a user as a system which has curl installed, and has run it at some point, is curl on iOS and Android? If so, you will be in that ball park I imagine.
Re: Curl, 17 years old today
#57Re: Curl, 17 years old today
#58And still better than wget, which only does http 1.0 and this has problems due to lacking a 'host' header. Curl just works.
http://daniel.haxx.se/docs/curl-vs-wget.html
Ha! Good to know :)
Re: Curl, 17 years old today
#59I love curl so much. I just learned that you can 'copy to curl command' from the chrome inspector's network panel by right clicking on any request!! I want to make a library that reads the curl command (and maybe request syntax?) and outputs a function that will do that command.
https://shibukawa.github.io/curl_as_dsl/
Re: Curl, 17 years old today
#60For PHP people, curl_multi_exec is the new event loop.