docs

a slatepencil documentail site

View on GitHub

CURL

curl is a tool for transferring data from or to a server using URLs. It supports these protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS.

Examples

# Debug https connections
curl -v -D - https://example.com

curl -u username:password  -H "Content-Type: application/json" -XPUT 'localhost:9200/employeedb/_bulk' --data-binary @Employees_100k.json
(new-object System.Net.WebClient).DownloadFile("https://buildroot.org/downloads/Vagrantfile","Vagrantfile");