Skip to content

Fix curl command example in Notifications component#1535

Closed
jjasghar wants to merge 1 commit into
binwiederhier:mainfrom
jjasghar:patch-1
Closed

Fix curl command example in Notifications component#1535
jjasghar wants to merge 1 commit into
binwiederhier:mainfrom
jjasghar:patch-1

Conversation

@jjasghar
Copy link
Copy Markdown

@jjasghar jjasghar commented Jan 5, 2026

It seems at least in my testing, no response happens without the https:// prepended.

for instance:

➜  ~ curl -d 'hi' ntfy.example.com/p6r76PFAKE_THINGHtRZ3x
➜  ~ curl -d 'hi' https://ntfy.example.com/p6r76PFAKE_THINGHtRZ3x
{"id":"LURnWXPPmkDM","time":1767634827,"expires":1767678027,"event":"message","topic":"p6r76PFAKE_THINGHtRZ3x","message":"hi"}

It seems at least in my testing, no response happens without the `https://` prepended.
@epifeny
Copy link
Copy Markdown
Contributor

epifeny commented Jan 24, 2026

IMO, one can (preferably for internal uses only), use http and not always https, and so curl -k would still work.

@binwiederhier
Copy link
Copy Markdown
Owner

Fixed in 946a2b6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants