Skip to content

Commit

Permalink
Release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
binwiederhier committed Mar 7, 2024
1 parent 4e1980c commit d54db74
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/publish.md
Original file line number Diff line number Diff line change
Expand Up @@ -2438,18 +2438,18 @@ Here's an example showing how to upload an image:
req.Header.Set("Filename", "flower.jpg")
http.DefaultClient.Do(req)
```

=== "PowerShell"
``` powershell
$Request = @{
Method = "POST"
Uri = "ntfy.sh/flowers"
InFile = "flower.jpg"
Headers = @{"Filename" = "flower.jpg"}
}
$Request = @{
Method = "POST"
Uri = "ntfy.sh/flowers"
InFile = "flower.jpg"
Headers = @{"Filename" = "flower.jpg"}
}
Invoke-RestMethod @Request
```

=== "Python"
``` python
requests.put("https://ntfy.sh/flowers",
Expand Down
1 change: 1 addition & 0 deletions docs/releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -1333,6 +1333,7 @@ and the [ntfy Android app](https://github.com/binwiederhier/ntfy-android/release
* Remove `mkdocs-simple-hooks` ([#1016](https://github.com/binwiederhier/ntfy/pull/1016), thanks to [@Tom-Hubrecht](https://github.com/Tom-Hubrecht))
* Update Watchtower example ([#1014](https://github.com/binwiederhier/ntfy/pull/1014), thanks to [@lennart-m](https://github.com/lennart-m))
* Fix dead links ([#1022](https://github.com/binwiederhier/ntfy/pull/1022), thanks to [@DerRockWolf](https://github.com/DerRockWolf))
* PowerShell file upload example ([#1004](https://github.com/binwiederhier/ntfy/pull/1004), thanks to [@YMan84](https://github.com/YMan84))

### ntfy Android app v1.16.1 (UNRELEASED)

Expand Down

0 comments on commit d54db74

Please sign in to comment.