title: HTTP GET Request JSON response - REST API
body: <p>I need to pull inventory data from a third-party site a client uses and display that data on their website using the REST API. I've been looking around but haven't found a clear way to do this.</p>
  
  <p>I need to make a Get Request from: <a href="https://user.traxia.com/app/api/inventory" rel="nofollow">https://user.traxia.com/app/api/inventory</a></p>
  
  <pre><code>// request
  {
      "key": "API Key Here",
      "query": "CAMERA", 
      "consignorId": "false",
      "includeItemsWithQuantityZero": false
  }
  </code></pre>
  
  <p>I would like the response to be</p>
  
  <pre><code>{
      "results":
      [
          {
              "status":"ACTIVE"
              "sku":"",
              "name":"",
              "cost":0
          }
      ]
  }
  </code></pre>
  
  <p>The documentation they list is here <a href="http://wiki.traxia.com/display/guide/List+and+Search+Inventory" rel="nofollow">http://wiki.traxia.com/display/guide/List+and+Search+Inventory</a> </p>
  
  <p>Since I don't know how to accomplish this, any help would be great!
  Code examples greatly appreciated!</p>