Skip to content

Commit 0d91331

Browse files
README
1 parent c6be057 commit 0d91331

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ Position httpSandwich between your client and server:
5656

5757
```bash
5858
# Natural language syntax (recommended)
59-
httpSandwich between 8000 and localhost:3000
59+
npx httpsandwich between 8000 and localhost:3000
6060

6161
# Traditional flag syntax
62-
httpSandwich --from 8000 --to localhost:3000
62+
npx httpsandwich --from 8000 --to localhost:3000
6363
```
6464

6565
Now point your client to `localhost:8000` instead of `localhost:3000`. All traffic flows through httpSandwich and is displayed in real-time.
@@ -68,16 +68,16 @@ Now point your client to `localhost:8000` instead of `localhost:3000`. All traff
6868

6969
```bash
7070
# Monitor traffic to a local API server
71-
httpSandwich between 8080 and localhost:3000
71+
npx httpsandwich between 8080 and localhost:3000
7272

7373
# Proxy to a remote service
74-
httpSandwich between 9000 and api.example.com:443
74+
npx httpsandwich between 9000 and api.example.com:443
7575

7676
# Start with minimal output (dots only)
77-
httpSandwich between 8000 and 5009 --level 1
77+
npx httpsandwich between 8000 and 5009 --level 1
7878

7979
# Keep more history in memory
80-
httpSandwich between 8000 and 5009 --history 500
80+
npx httpsandwich between 8000 and 5009 --history 500
8181
```
8282

8383
## Interactive Controls

0 commit comments

Comments
 (0)