echo Action
Sends its text content as response body and terminates the request.
The intended use is error handling or debugging.
Syntax
The mime
attribute defines the response Content-Type
. Default: text/plain
The status
attribute defines the HTTP response status code. This is a shortcut for a set-status
action.
Example
The action body contains static text. If you need dynamic processing, use a template
action (and <break/>
) instead.
Last updated