انتقال داده از/به سرور. از اکثر پروتکلها از جمله HTTP، FTP و POP3 پشتیبانی میکند. اطلاعات بیشتر: https://curl.se/docs/manpage.html.
curl {{http://example.com}} {{[-o|--output]}} {{path/to/file}}
curl {{[-O|--remote-name]}} {{http://example.com/filename}}
curl {{[-f|--fail]}} {{[-O|--remote-name]}} {{[-L|--location]}} {{[-C|--continue-at]}} - {{http://example.com/filename}}
stdin
، از --data @file_name یا --data @'-' استفاده کنید:curl {{[-d|--data]}} {{'name=bob'}} {{http://example.com/form}}
curl {{[-H|--header]}} {{'X-My-Header: 123'}} {{[-X|--request]}} {{PUT}} {{http://example.com}}
curl {{[-d|--data]}} {{'{"name":"bob"}'}} {{[-H|--header]}} {{'Content-Type: application/json'}} {{http://example.com/users/1234}}
curl {{[-u|--user]}} {{username}} {{http://example.com}}
curl {{[-E|--cert]}} {{client.pem}} --key {{key.pem}} {{[-k|--insecure]}} {{https://example.com}}