apistockdocs
v0.4 GitHub apistock.dev
API reference/Example

Echo a message

POST /v1/echo
Returns the trimmed message. Blank messages are rejected with the message_required error code.

Body

application/json
messagestringrequired

Message to echo back

maxLength: 500

Responses

errors: application/problem+json
200

OK

422

Unprocessable Entity

500

Internal Server Error

Match errors on the problem's code, which stays the same, not on its message.

esc
↑↓ move↵ openesc close