title: RESTful API - WooCommerce REST API requests failing with curl
body: <p>I have recently updated to the latest version of WooCommerce 2.1 which includes a <a href="http://docs.woothemes.com/document/woocommerce-rest-api/" rel="nofollow">new RESTful API</a>.
  I don't have much experience with cURL or RESTful APIs but I thought I give it a play.</p>
  
  <p>My site is sergedenimes.com and I have SSL set up on the server.</p>
  
  <p>If I run <code>curl https://sergedenimes.com/wc-api/v1</code> I get a nice long bit of json output like so:</p>
  
  <pre><code>{
     "store":{
        "name":"Serge DeNimes",
        "description":"Original, Urban T-Shirts Of The Highest Quality by Oliver Proudlock",
        "URL":"http:\/\/sergedenimes.com",
        "wc_version":"2.1.2",
        "routes":{
           "\/":{
              "supports":[
                 "HEAD",
                 "GET"
              ],
              "meta":{
                 "self":"http:\/\/sergedenimes.com\/wc-api\/v1\/"
              }
           },
           "\/customers":{ etc.....
  </code></pre>
  
  <p>This suggests the api itself is working. However when I pass a request that uses authentication:</p>
  
  <pre><code>curl https://sergedenimes.com/wc-api/v1/orders -u my_key:my_secret
  </code></pre>
  
  <p>I get this in response:</p>
  
  <pre><code>{
     "errors":[
        {
           "code":"woocommerce_api_authentication_error",
           "message":"Consumer Key is missing"
        }
     ]
  }
  </code></pre>
  
  <p>Is my syntax correct? I have set up my key and secret under the WP admin and passed in the values but it seems to think I'm not passing it with my request.</p>
  
  <p>Any ideas?</p>