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

Closed
opened 2026-05-05 04:24:54 -06:00 by gitea-mirror · 0 comments
Owner

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.
gitea-mirror 2026-05-05 04:24:54 -06: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: github-starred/ntfy#1008
No description provided.