Skip to content

Commit d062269

Browse files
authored
Add curl command (#75)
1 parent 7b82e13 commit d062269

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -757,8 +757,9 @@ pwd
757757
<tr>
758758
<td><a href="#u-w">w</a></td>
759759
<td><a href="#v-wget">wget</a></td>
760-
<td><a href="#w-whoami">whoami</a></td>
761-
<td><a href="#x-whois">whois</a></td>
760+
<td><a href="#w-curl">curl</a></td>
761+
<td><a href="#x-whoami">whoami</a></td>
762+
<td><a href="#y-whois">whois</a></td>
762763
</tr>
763764
</table>
764765

@@ -891,10 +892,18 @@ Downloads file.
891892
wget file
892893
```
893894

894-
### w. `whoami`
895+
### w. `curl`
896+
Curl is a command-line tool for requesting or sending data using URL syntax. Usefull on systems where you only have terminal available for making various requests.
897+
```bash
898+
curl url
899+
```
900+
Use `-X` or `--request` to specify which method you would like invoke (GET, POST, DELETE, ...).
901+
Use `-d <data>` or `--data <data>` to POST data on given URL.
902+
903+
### x. `whoami`
895904
Return current logged in username.
896905

897-
### x. `whois`
906+
### y. `whois`
898907
Gets whois information for domain.
899908
```bash
900909
whois domain

0 commit comments

Comments
 (0)