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: