title: How to pass boolean parameters to a restful service?
body: <p>What is the best way to pass boolean parameters to a WCF RESTful service?</p>
  
  <p>Using <code>true</code>or <code>false</code> like this:</p>
  
  <p><code>api/resource?hasProperty=true</code></p>
  
  <p>or using <code>0</code> or <code>1</code> like this:</p>
  
  <p><code>api/resource?hasProperty=1</code></p>