mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-03 15:40:17 +00:00
Merge pull request #9 from Thingee/patch-1
Update curl cheat sheet with redirect
This commit is contained in:
commit
b40bfec5bf
@ -10,6 +10,9 @@ curl -O URLOfFirstFile -O URLOfSecondFile
|
||||
# Download all sequentially numbered files (1-24)
|
||||
curl http://example.com/pic[1-24].jpg
|
||||
|
||||
# Download a file and follow redirects
|
||||
curl -L http://example.com/file
|
||||
|
||||
# Download a file and pass HTTP Authentication
|
||||
curl -u username:password URL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user