Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PowerShell Examples in Docs #138

Closed
hl2guide opened this issue Feb 11, 2022 · 3 comments
Closed

PowerShell Examples in Docs #138

hl2guide opened this issue Feb 11, 2022 · 3 comments
Labels
docs Improvements or additions to documentation

Comments

@hl2guide
Copy link

hl2guide commented Feb 11, 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
@binwiederhier binwiederhier added the docs Improvements or additions to documentation label Feb 11, 2022
@binwiederhier
Copy link
Owner

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.

@sudo-kraken
Copy link
Contributor

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.

@binwiederhier
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants