@better-webhook/cli 3.6.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -4
- package/dist/dashboard/assets/{index-Dlqdzwyc.js → index-CZZLwai4.js} +8 -8
- package/dist/dashboard/index.html +1 -1
- package/dist/index.cjs +63 -21
- package/dist/index.js +63 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -165,10 +165,12 @@ Start a server to capture incoming webhooks. All captured webhooks are saved to
|
|
|
165
165
|
better-webhook capture [options]
|
|
166
166
|
```
|
|
167
167
|
|
|
168
|
-
| Option | Description
|
|
169
|
-
| ------------------- |
|
|
170
|
-
| `-p, --port <port>` | Port to listen on
|
|
171
|
-
| `-h, --host <host>` | Host to bind to
|
|
168
|
+
| Option | Description | Default |
|
|
169
|
+
| ------------------- | ------------------------ | --------- |
|
|
170
|
+
| `-p, --port <port>` | Port to listen on | `3001` |
|
|
171
|
+
| `-h, --host <host>` | Host to bind to | `0.0.0.0` |
|
|
172
|
+
| `-v, --verbose` | Show raw request details | |
|
|
173
|
+
| `--debug` | Alias for `--verbose` | |
|
|
172
174
|
|
|
173
175
|
**Features:**
|
|
174
176
|
|
|
@@ -176,11 +178,15 @@ better-webhook capture [options]
|
|
|
176
178
|
- Saves full request including headers, body, query params
|
|
177
179
|
- WebSocket server for real-time notifications
|
|
178
180
|
- Returns capture ID in response for easy reference
|
|
181
|
+
- `--verbose/--debug` prints raw request data; use with care since it may include sensitive payloads
|
|
179
182
|
|
|
180
183
|
**Example:**
|
|
181
184
|
|
|
182
185
|
```bash
|
|
183
186
|
better-webhook capture --port 4000 --host localhost
|
|
187
|
+
|
|
188
|
+
# Show request headers + raw body
|
|
189
|
+
better-webhook capture --verbose
|
|
184
190
|
```
|
|
185
191
|
|
|
186
192
|
---
|