[GH-ISSUE #517] sending messages with new line #395

Closed
opened 2026-05-07 00:23:47 +02:00 by BreizhHardware · 3 comments

Originally created by @spice42 on GitHub (Nov 25, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/517

.

Originally created by @spice42 on GitHub (Nov 25, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/517 .
Author
Owner

@binwiederhier commented on GitHub (Nov 25, 2022):

https://docs.ntfy.sh/publish/ -- the third example with the dog:

curl -d "There's someone at the door. 🐶

Pease check if it's a good boy or a hooman. 
Doggies have been known to ring the doorbell." \
  ntfy.sh/mydoorbell

or

echo -e "hi\nthere" | curl -T- ntfy.sh/mydoorbell
<!-- gh-comment-id:1327366896 --> @binwiederhier commented on GitHub (Nov 25, 2022): https://docs.ntfy.sh/publish/ -- the third example with the dog: ``` curl -d "There's someone at the door. 🐶 Pease check if it's a good boy or a hooman. Doggies have been known to ring the doorbell." \ ntfy.sh/mydoorbell ``` or ``` echo -e "hi\nthere" | curl -T- ntfy.sh/mydoorbell ```
Author
Owner

@spice42 commented on GitHub (Nov 25, 2022):

.

<!-- gh-comment-id:1327373643 --> @spice42 commented on GitHub (Nov 25, 2022): .
Author
Owner

@spice42 commented on GitHub (Nov 25, 2022):

.

<!-- gh-comment-id:1327418907 --> @spice42 commented on GitHub (Nov 25, 2022): .
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#395
No description provided.