-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f43b552
commit dceee33
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Curl Command cheatsheet | ||
|
||
``` | ||
curl --help | ||
Usage: curl [options...] <url> | ||
-d, --data <data> HTTP POST data | ||
-f, --fail Fail fast with no output on HTTP errors | ||
-h, --help <category> Get help for commands | ||
-i, --include Include protocol response headers in the output | ||
-o, --output <file> Write to file instead of stdout | ||
-O, --remote-name Write output to a file named as the remote file | ||
-s, --silent Silent mode | ||
-T, --upload-file <file> Transfer local FILE to destination | ||
-u, --user <user:password> Server user and password | ||
-A, --user-agent <name> Send User-Agent <name> to server | ||
-v, --verbose Make the operation more talkative | ||
-V, --version Show version number and quit | ||
``` | ||
|
||
Inspect headers and output (This can give clues on running software: | ||
``` | ||
curl -i http://192.168.208.97/ | ||
``` | ||
|
||
|