title: How should REST API accept boolean values?
body: <p>Resource <code>123</code> has a current configuration state and a default configuration state, and both of these configuration states can be represented by JSON.</p>
  
  <p>A <code>GET</code> request to <code>http://example.com/123/config</code> will return the current configuration state, and a <code>GET</code> request to <code>http://example.com/123/config?reset=true</code> will return the default configuration state.</p>
  
  <p>How should an API interpret boolean values?  For instance:</p>
  
  <ul>
  <li><code>http://example.com/123/config?reset=true</code></li>
  <li><code>http://example.com/123/config?reset=blablabla</code></li>
  <li><code>http://example.com/123/config?reset=false</code></li>
  <li><code>http://example.com/123/config?reset=1</code></li>
  <li><code>http://example.com/123/config?reset=0</code></li>
  <li><code>http://example.com/123/config?reset=</code></li>
  <li><code>http://example.com/123/config?reset</code></li>
  </ul>