|
@@ -51,7 +51,7 @@ can test interactively like so:
|
|
|
|
|
|
### Sample Webhook
|
|
### Sample Webhook
|
|
|
|
|
|
-There is a simple webhook example beneath [webhook/](webhook/) which
|
|
|
|
|
|
+There is a simple webserver located beneath [webhook/](webhook/) which
|
|
will listen upon http://localhost:8080, and dump any POST submission to the
|
|
will listen upon http://localhost:8080, and dump any POST submission to the
|
|
console.
|
|
console.
|
|
|
|
|
|
@@ -64,7 +64,7 @@ Testing it via `curl` would look like this:
|
|
|
|
|
|
$ curl --header "Content-Type: application/json" \
|
|
$ curl --header "Content-Type: application/json" \
|
|
--request POST \
|
|
--request POST \
|
|
- --data '{"username":"xyz","password":"xyz"}' \
|
|
|
|
|
|
+ --data '{"username":"blah","password":"blah"}' \
|
|
http://localhost:8080/
|
|
http://localhost:8080/
|
|
|
|
|
|
The [sample.cfg](sample.cfg) file will POST to this end-point so you can
|
|
The [sample.cfg](sample.cfg) file will POST to this end-point so you can
|