CURL Advanced

command description
curl -L -s http://ipecho.net/plain, curl -L -s http://whatismijnip.nl get my public IP
curl -u $username:$password http://repo.dennyzhang.com/README.txt curl with credentials
curl -v -F key1=value1 -F upload=@localfilename <URL> curl upload
curl -k -v --http2 https://www.google.com/ use http2 curl
curl -T cryptopp552.zip -u test:test ftp://10.32.99.187/ curl ftp upload
curl -u test:test ftp://10.32.99.187/cryptopp552.zip -o cryptopp552.zip curl ftp download
curl -v -u admin:admin123 --upload-file package1.zip http://mysever:8081/dir/package1.zip upload with credentials curl
Comments