[GH-ISSUE #1435] Prepend https:// to cURL example shown on empty topic pages #1007

Closed
opened 2026-05-07 00:29:30 +02:00 by BreizhHardware · 0 comments

Originally created by @elmatadoor on GitHub (Aug 25, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1435

Description:

When opening a newly created (empty) topic in the ntfy web interface (i.e., a topic that hasn't yet received any notifications), the page currently displays a cURL example like this:

$ curl -d "Hello" ntfy.sh/my-topic

To ensure the URL is correctly formatted, we need to prepend "https://" to the cURL example. The updated example should look like this:

$ curl -d "Hello" https://ntfy.sh/my-topic

This change will ensure that users can directly copy and paste the cURL example without needing to manually add "https://" to the URL, improving the usability of the interface.

Originally created by @elmatadoor on GitHub (Aug 25, 2025). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1435 ### **Description:** When opening a newly created (empty) topic in the `ntfy` web interface (i.e., a topic that hasn't yet received any notifications), the page currently displays a cURL example like this: ```bash $ curl -d "Hello" ntfy.sh/my-topic ``` To ensure the URL is correctly formatted, we need to prepend "https://" to the cURL example. The updated example should look like this: ```perl $ curl -d "Hello" https://ntfy.sh/my-topic ``` This change will ensure that users can directly copy and paste the cURL example without needing to manually add "https://" to the URL, improving the usability of the interface.
BreizhHardware 2026-05-07 00:29:30 +02:00
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#1007
No description provided.