mirror of https://github.com/caronc/apprise
Updated Notify_Custom_JSON (markdown)
parent
82d8d974df
commit
43dfc17f47
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue