To do a GET request
curl -x GET http://10.10.10.10
To send a head request
curl -I http://10.10.10.10
To check for options
curl -X options http://10.10.10.10 -v
To add a username and a password
curl -X POST http://10.10.10.10/login.php -d "name=john&password=password" -v
To upload a file
curl http://10.10.10.10/uploads --upload-file hello.txt
To delete the uploaded file
curl -X DELETE http://10.10.10.10/uploads/hello.txt