 the value as a request environment variable, taking the suffix of the header name as the name of the variable.
</p>
<p>
This example shows how to read request data, parse json and then log data from mruby.
</p>

<div class="example">
<div class="caption">Example. Logging the content of a POST request via request environment variable</div>
<pre><code>paths:
  &quot;/&quot;:
    mruby.handler: |
      Proc.new do |env|
        input = env[&quot;rack.input&quot;] ? env[&quot;rack.input&quot;].read : &#39;{&qu