News for hackers. Stuff that matters.
Re:France Enters the Matrix by Arathorn on Friday February 22, 2019 @01:42PM (#19227859)
fwiw, in Matrix, to send a message, it's:

  curl 'https://matrix.org/_matrix/client/r0/rooms/!RXNcERlITUVszBNIPW%3Amatrix.org/send/m.room.message/123?access_token='$TOKEN -X PUT --data '{"msgtype":"m.text","body":"hello world"}'
and to receive messages it's:

  curl 'https://matrix.org/_matrix/client/r0/sync?access_token='$TOKEN
Hopefully this ends up being quite easy to work with :)
Re:France Enters the Matrix by edhelas on Friday February 22, 2019 @05:35PM (#19229778)
and for XMPP

    <message to="[email protected]"><body>Hello world</body></message>
No need for a token, the socket you're in is already authenticated :)