Skip to content

Commit 610dd2c

Browse files
theakshaypantzakisk
authored andcommitted
docs(cli): reformat curl command example to single line
Simplify curl command example in webhook testing section by consolidating multi-line format into a single line for easier copy-paste usage. Gosmee generates script with curl command in a single line. Signed-off-by: Akshay Pant <[email protected]>
1 parent 420f4c0 commit 610dd2c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/content/docs/guide/cli.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -441,11 +441,7 @@ The payload is the JSON content of the webhook request, The headers file support
441441

442442
```bash
443443
#!/usr/bin/env bash
444-
curl -X POST "http://localhost:8080/" \
445-
-H "X-GitHub-Event: pull_request" \
446-
-H "Content-Type: application/json" \
447-
-H "User-Agent: GitHub-Hookshot/2d5e4d4" \
448-
-d @payload.json
444+
curl -X POST "http://localhost:8080/" -H "X-GitHub-Event: pull_request" -H "Content-Type: application/json" -H "User-Agent: GitHub-Hookshot/2d5e4d4" -d @payload.json
449445
```
450446

451447
#### Usage

0 commit comments

Comments
 (0)