FreeKB - Curl articles
Curl articles

Bearer TokenConnect to a REST API with an OAuth Bearer TokenConfig FileInclude option from a file using the -K or --config optionDeleteDelete a resource using the -X or --request DELETE optionFTPConnect to an FTP or SFTP server using cURLGETDisplay a resource using the -X or --request GET optionHeadersIncluding headers using the -l or --head optionJSONParse JSON using PythonPOSTPost data to a remote system using the -d or --data optionProxyUse a proxy serverPUTUpload file using the -T or --upload-file optionRedirectFollow a 302 redirect using the -L or --location optionRedirect output to a file using the -o or --output optionReturn CodeDisplay HTTP return code using the -w or --write-out "%{http_code}" option Show ErrorsDisplay errors using the -S or --show-error flagSilentHide progress bar using the -s or --silent flagSSHSpecify SSH private key file using the --key and --pass optionsSSLIgnore SSL certificate warning using the -k or --insecure flagView SSL certificate using CURL on LinuxSuppress OutputSuppress output using the -o or --output /dev/null optionTroubleshootingResolve "Connection reset by peer"Username PasswordBasic authentication using the -u or --user option

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |