Release notes

This commit is contained in:
binwiederhier 2024-03-07 13:08:56 -05:00
parent 4e1980c2cc
commit d54db74f5a
2 changed files with 9 additions and 8 deletions

View file

@ -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",