Direct Response

Attach to:

Directly respond to a request with a custom response, without forwarding to any backend.

For example, the following configuration returns a 404 Not found! response.

directResponse:
  body: "Not found!"
  status: 404