Created
October 28, 2015 20:35
-
-
Save AaronPhalen/b6345493272b25af5cd4 to your computer and use it in GitHub Desktop.
Brief introduction to cURL and examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Author: Aaron R. Phalen | Twitter: @aaron_phalen | Email: [email protected] | |
A Curl Introduction With Examples | |
================================= | |
Definition: cURL is a software package on linux that utilizes a command line | |
interface to transfer data via an URL syntax. cURL supports ports other than | |
80 (HTTP), such as FTP, IMAP, POP3, SFTP, and SMTP. | |
1. Download a file with cURL. | |
curl http://www.google.com --> will get contents of url and display to stdout. | |
2. Download and save contents to file. | |
curl http://www.google.com > sample.txt --> write contents of url to sample.txt file. | |
3. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment