A project that forwards data it receives in a URL POST Request to a Discord Webhook link
Mailman is a project that basically just forwards data it receives in a URL POST Request to a Discord Webhook link and act as a sort of message conveyer.
Say for example I wanted to send a message to someone and then I would send a POST request to their Mailman service and they would get the message.
(Yes this is very unconventional and yes I do know Whatsapp, even Discord for that matter, do exist, but I was bored…)
Each POST request should have just one header of Content-Type
which should be set to application/json
.
The body of the post request has 4 elements:
from
: This is the name of the author of the message and is compulsory. For e.gJohn Appleseed
subject
: Pretty self-explanatory