From 43dfc17f4746fa0464479d4d74437da95315ebaa Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Sat, 7 Sep 2019 16:47:41 -0400 Subject: [PATCH] Updated Notify_Custom_JSON (markdown) --- Notify_Custom_JSON.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Notify_Custom_JSON.md b/Notify_Custom_JSON.md index 01e0fd6..e81e968 100644 --- a/Notify_Custom_JSON.md +++ b/Notify_Custom_JSON.md @@ -24,16 +24,22 @@ The *type* will be one of the following: ### Syntax Valid syntaxes are as follows: -* **json**://**{hostname}** -* **json**://**{hostname}**:**{port}** -* **jsons**://**{hostname}** -* **jsons**://**{hostname}**:**{port}** +* `json://{hostname}` +* `json://{hostname}:{port}` +* `json://{user}:{password}@{hostname}` +* `json://{user}:{password}@{hostname}:{port}` +* `json://{hostname}` +* `json://{hostname}:{port}` +* `json://{user}:{password}@{hostname}` +* `json://{user}:{password}@{hostname}:{port}` ### Parameter Breakdown | Variable | Required | Description | ----------- | -------- | ----------- | hostname | Yes | The Web Server's hostname | port | No | The port our Web server is listening on. By default the port is **80** for **json://** and **443** for all **jsons://** references. +| user | No | If you're system is set up to use HTTP-AUTH, you can provide _username_ for authentication to it. +| password | No | If you're system is set up to use HTTP-AUTH, you can provide _password_ for authentication to it. #### Example Send a JSON notification to our web server listening on port 80: