mirror of
https://github.com/ncarlier/webhookd.git
synced 2025-04-05 18:03:41 +00:00
doc(): fix JSON payload example
This commit is contained in:
parent
6042fee0e4
commit
7c809650da
|
@ -166,7 +166,7 @@ echo "Script parameters: $1"
|
|||
The result:
|
||||
|
||||
```bash
|
||||
$ curl --data @test.json http://localhost:8080/echo?foo=bar
|
||||
$ curl --data @test.json -H 'Content-Type: application/json' http://localhost:8080/echo?foo=bar
|
||||
Hook information: name=echo, id=1, method=POST
|
||||
Query parameter: foo=bar
|
||||
Header parameter: user-agent=curl/7.52.1
|
||||
|
|
Loading…
Reference in New Issue
Block a user