Create Message
POST/messages
Post a message to Eludris.
Request Body
A JSON Message
Response
Field | Type | Description |
---|---|---|
author | String | The author of message. This field has to be between 2 and 32 characters long. The author will be trimmed from leading and trailing whitespace. |
content | String | The content of the message. This field has to be at-least 2 characters long. The upper limit is the instance’s Instance Info message_limit .The content will be trimmed from leading and trailing whitespace. |
Example
curl \
--json '{"author":"Not a weeb","content":"Hello, World!"}' \
https://api.eludris.gay/messages
{
"author": "Not a weeb",
"content": "Hello, World!"
}