Get the latest tech news

Sending Jabber/XMPP Messages via HTTP


The goal of this tutorial is to set up a simple REST API that allows you to send XMPP messages to an existing XMPP account. This can be easily integrated into monitoring solutions or other scripts that send out status information. While there are command-line tools like go-sendxmpp that send messages by connecting to an XMPP server directly, this guide is specifically about providing an HTTP interface. curl "https://ntfy.stdmsg.tech:5281/msg/user@example.com" \ -u coffee@ntfy.stdmsg.tech:secret \ -H "Content-Type: text/plain" \ -d "Your flat white is done" Hint: If you don’t have an XMPP account to receive these messages, you can create one on a public server from within Conversations (F-Droid, Google Play) or another XMPP client of your choosing.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of jabber

jabber

Photo of HTTP

HTTP

Photo of XMPP Messages

XMPP Messages

Related news:

News photo

The Apple Podcasts app is switching to HTTP Live Streaming video technology

News photo

Show HN: HTTP:COLON – A quick HTTP header/directive inspector and reference

News photo

Show HN: Ayder – HTTP-native durable event log written in C (curl as client)