[GH-ISSUE #138] PowerShell Examples in Docs #116

Closed
opened 2026-05-07 00:20:09 +02:00 by BreizhHardware · 3 comments

Originally created by @hl2guide on GitHub (Feb 11, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/138

Please add powershell examples to docs.

https://ntfy.sh/docs/publish/

e.g.

$message = "message"
$topic = "topic"
$messagePost = Invoke-WebRequest -Method Post -UseBasicParsing -UseDefaultCredentials -URI "ntfy.sh/$topic" -Body $message
Originally created by @hl2guide on GitHub (Feb 11, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/138 Please add powershell examples to docs. https://ntfy.sh/docs/publish/ e.g. ``` $message = "message" $topic = "topic" $messagePost = Invoke-WebRequest -Method Post -UseBasicParsing -UseDefaultCredentials -URI "ntfy.sh/$topic" -Body $message ```
BreizhHardware 2026-05-07 00:20:09 +02:00
  • closed this issue
  • added the
    docs
    label
Author
Owner

@binwiederhier commented on GitHub (Feb 11, 2022):

Thanks for the ticket. I don't really have a Windows PC at hand. Could you create a pull request against https://github.com/binwiederhier/ntfy/blob/main/docs/publish.md with the examples? Most of them will likely be straight forward, given the example you gave, but I'd rather someone who can actually test it create the PR.

<!-- gh-comment-id:1036242956 --> @binwiederhier commented on GitHub (Feb 11, 2022): Thanks for the ticket. I don't really have a Windows PC at hand. Could you create a pull request against https://github.com/binwiederhier/ntfy/blob/main/docs/publish.md with the examples? Most of them will likely be straight forward, given the example you gave, but I'd rather someone who can actually test it create the PR.
Author
Owner

@sudo-kraken commented on GitHub (Mar 18, 2022):

Please add powershell examples to docs.

https://ntfy.sh/docs/publish/

e.g.

$message = "message"
$topic = "topic"
$messagePost = Invoke-WebRequest -Method Post -UseBasicParsing -UseDefaultCredentials -URI "ntfy.sh/$topic" -Body $message

I have added this to the docs now for you it will be up once @binwiederhier has had chance to review the changes and merge the pull request.

<!-- gh-comment-id:1072334933 --> @sudo-kraken commented on GitHub (Mar 18, 2022): > Please add powershell examples to docs. > > https://ntfy.sh/docs/publish/ > > e.g. > > ``` > $message = "message" > $topic = "topic" > $messagePost = Invoke-WebRequest -Method Post -UseBasicParsing -UseDefaultCredentials -URI "ntfy.sh/$topic" -Body $message > ``` I have added this to the docs now for you it will be up once @binwiederhier has had chance to review the changes and merge the pull request.
Author
Owner

@binwiederhier commented on GitHub (Mar 18, 2022):

This is done and will be in the next release. Thanks to @Joeharrison94.

<!-- gh-comment-id:1072809467 --> @binwiederhier commented on GitHub (Mar 18, 2022): This is done and will be in the next release. Thanks to @Joeharrison94.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#116
No description provided.