From 2ee8d50ca5b0b2d41e00abf9dcf9cd6dcfb348c9 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Sat, 7 Sep 2019 16:47:46 -0400 Subject: [PATCH] Updated Notify_pushjet (markdown) --- Notify_pushjet.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Notify_pushjet.md b/Notify_pushjet.md index 7c320f0..d2edf15 100644 --- a/Notify_pushjet.md +++ b/Notify_pushjet.md @@ -8,16 +8,20 @@ ### Syntax If you want to use your own custom Pushjet server, then the following identify the syntax you may use: -* **pjet**://**{secret_key}**@**{host}** -* **pjet**://**{secret_key}**@**{host}**:**{port}** -* **pjets**://**{secret_key}**@**{host}** -* **pjets**://**{secret_key}**@**{host}**:**{port}** +* `pjet://{host}/{secret_key}` +* `pjet://{host}:{port}/{secret_key}` +* `pjet://{user}:{password}@{host}/{secret_key}` +* `pjets://{host}/{secret_key}` +* `pjets://{host}:{port}/{secret_key}` +* `pjets://{user}:{password}@{host}/{secret_key}` ### Parameter Breakdown | Variable | Required | Description | ----------- | -------- | ----------- | secret_key | Yes | The Secret Key associated with your Pushjet account. -| host | Yes | The Pushjet server you're hosting +| host | Yes | The Pushjet server you're hosting +| 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. | port | No | The Pushjet port optional and only required if you're hosting your own notification server on a different port then the standard ones. By default the port is **80** for **pjet://** and **443** for all **pjets://** references. #### Example