Browse Source

add typo fix and add curl example

tags/v1.1.0
AJ ONeal 1 year ago
parent
commit
fe525b72c9
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      README.md

+ 7
- 1
README.md View File

@@ -9,7 +9,7 @@ Unwrap a TLS connection:
9 9
 
10 10
 ```bash
11 11
 $ sclient whatever.com:443 localhost:3000
12
-> [listening] telebit.cloud:443 <= localhost:3000
12
+> [listening] whatever.com:443 <= localhost:3000
13 13
 ```
14 14
 
15 15
 Connect via Telnet
@@ -24,6 +24,12 @@ Connect via netcat (nc)
24 24
 $ nc localhost 3000
25 25
 ```
26 26
 
27
+cURL
28
+
29
+```bash
30
+$ curl http://localhost:3000 -H 'Host: whatever.com'
31
+```
32
+
27 33
 A poor man's (or Windows user's) makeshift replacement for `openssl s_client`, `stunnel`, or `socat`.
28 34
 
29 35
 Install

Loading…
Cancel
Save