Output response body
This action can be used to customize static pages to respond directly to clients, thus avoiding visits upstream.
This action can be used to customize static pages to respond directly to clients, thus avoiding visits upstream.

The parameters for this action are
- Content Type: Specifies the
Content Typeof the response header, such astext/html,application/json. OpenResty Edge will automatically display candidates when typing in the input box. - Status Code: Specifies the HTTP response status. The default is
200; the accepted numeric range is 100–999. Choose a code whose HTTP semantics match the response rather than relying only on the syntactic range. - Response Body: Specifies the response body.
Request Example
$ curl http://test.com/anything
<!doctype html>
<html>
<head>
<title>OpenResty Edge</title>
</head>
<body>
</body>
</html>