title: Mediawiki Hyperswitch: Return if some value in the response body equals to a variable
body: <p>I am using <a href="https://www.mediawiki.org/wiki/REST_API" rel="nofollow noreferrer">RestAPI</a> from Wikibase which in turn use <a href="https://www.mediawiki.org/wiki/HyperSwitch" rel="nofollow noreferrer">Hyperswitch</a> framework.</p>
  
  <p>In the example code of its yaml file, there is a case to choose to return the response or not depend on the status code</p>
  
  <pre><code> x-request-handler:
          - storage:
              request:
                method: get
                headers:
                  cache-control: '{{cache-control}}'
  #                cache-control: "no-cache"
                uri: /{domain}/sys/key_value/page_summary3/{request.params.title}
              catch:
                status: 404
              return_if:
                # Typical case: Return straight from storage.
                status: '2xx'
              return:
  </code></pre>
  
  <p>But I would like to return depend on a value found on the response body, say <code>success: 1</code>. How can I do that?</p>