curl

# authentification
curl www.example.com --user username:password

# put
curl -X PUT -d arg=val -d arg2=val2 localhost:8080

# view haeder
curl -I https://example.com/foo