Create Message

POST /messages

Post a message to your Eludris instance.

Parameters

The Message object to be posted to the Eludris instance.

Note

Message authors must be between 2-32 characters long.

Message content must be at least 1 character long. The upper changes for every instance and hence should be fetched using the instance info / route.

Returns

The Message object that was just sent.

Example

curl \
  --json '{"author":"Not a weeb","content":"Hello, World!"}' \
  https://eludris.tooty.xyz/messages
{
  "author": "Not a weeb",
  "content": "Hello, World!"
}