title: Using _find from the command line
body: <p>My CouchDB (version 1.7.1_5) setup:</p>
  
  <pre><code>$ curl -X PUT http://127.0.0.1:5984/shop
  $ curl -d "{\"type\": \"product\", \"name\": \"Apple\", \"price\": \"1\"}" \
    -X POST -H "Content-type: application/json" http://localhost:5984/shop/ 
  {"ok":true,"id":"1ce330a867a803fd10082c451304075b",
  "rev":"1-f61d5b64af58a6eda60ac0c9160ad690"}
  </code></pre>
  
  <p>Now I want to find the product with the name <code>Apple</code>. According to <a href="http://docs.couchdb.org/en/stable/api/database/find.html" rel="nofollow noreferrer">http://docs.couchdb.org/en/stable/api/database/find.html</a> I should use <code>_find</code> for this. But I can't find the right syntax. What's wrong with this request?</p>
  
  <pre><code>$ curl -d "{\"selector\": {\"name\": \"Apple\"}}" \
    -H "Content-Type: application/json" -X POST http://localhost:5984/shop/_find
  {"error":"bad_request","reason":"Referer header required."}
  </code></pre>