Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function send(topic, message, title)
- if title ~= nil then
- return(http.post("http://ntfy.sh/" .. topic, message, { ["Title"] = title }))
- else
- return(http.post("http://ntfy.sh/" .. topic, message))
- end
- end
Add Comment
Please, Sign In to add comment