title: How to send cUrl JSON request to Yii2 api using greater/less than operators
body: <p>As an example of cUrl request targeting yii2 restfull web service I have this command:</p>
  
  <p><code>curl -i -H "Accept:application/xml" "http://localhost/api/users"</code></p>
  
  <p>But I want to get users with the id between 100 and 250 ( this is not part of pagination, it is just request like that ).</p>
  
  <p>How should I specify this condition ?</p>
  
  <p>I have tried this but it does not work:</p>
  
  <p><code>curl -i -H "Accept:application/xml" "http://localhost/api/users?id={"lt": 100, "gt": 30}"</code></p>