How do I install cURL?
I'm trying to better understand angular.js but first I need to understand REST which requires that I better understand HTTP and every tutorial I've read recommends cURL. So now I'm trying to figure out how to install cURL on OSX and I've only used terminal a few times (I'm actually more comfortable with DOS).
I'm currently referring to these instructions but - http://curl.haxx.se/docs/install.html - but it's rather vague and assumes a lot of details.
Any other suggestions on how to install cURL?
What happens when you just open a terminal and just execute "curl -V" or just "curl" ?
cURL is a part of PHP (http://www.php.net/manual/en/book.curl.php) so you'll need to install a test server so you can use this version of cURL.
No, curl isn't a part of php it is a GNU utility. PHP has a php-curl module though.
As for installation you probably don't want to install from source in general -- package management is pretty vastly superior these days. Not that you need to -- it is on macs by default, or at least was on the one I had handy with mavericks running on it.
All that said, if you want a command line http client I would use httpie -- https://github.com/jkbr/httpie, it is vastly superior.