Curl

Verbose Output (-v)

curl  -v http://karloespiritu.com

Get Request

curl -kv "https://karloespiritu.com/?foo=bar&memento=mori"

POST or PUT Request

curl -k -H "Content-Type: application/json" -X POST -d '{"name":"hello","value":"world"}' https://httpbin.org/post
curl -X "PUT"

for a PUT request

##Request with Basic Auth

curl -vvv -u karlo@httpbin.org:mypass http://httpbin.org/basic-auth

Download Files

curl -LOk  https://raw.github.com/username/reponame/master/filename