title: Can't figure out how to use query parameters on JSON object returned from API
body: <p>I am trying to figure out how to use query parameters on JSON objects to return specific information. Here is my JSON object, returned from an API i am running on a local server (my mac):</p>
  <pre><code>[ { &quot;colors&quot;     : [ &quot;Tan&quot;, &quot;Chocolate&quot;, &quot;Black&quot;, &quot;White&quot;] 
    , &quot;_id&quot;        : &quot;5be9c8541c9d440000665243&quot;
    , &quot;name&quot;       : &quot;Norbert&quot;
    , &quot;price&quot;      : 2900
    , &quot;imageUrl&quot;   : &quot;http://localhost:3000/images/teddy_1.jpg&quot;
    , &quot;description&quot;: &quot;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&quot;
    } 
  , { &quot;colors&quot;     : [ &quot;Pale brown&quot;, &quot;Dark brown&quot;, &quot;White&quot;] 
    , &quot;_id&quot;        : &quot;5beaa8bf1c9d440000a57d94&quot;
    , &quot;name&quot;       : &quot;Arnold&quot;
    , &quot;price&quot;      : 3900
    , &quot;imageUrl&quot;   : &quot;http://localhost:3000/images/teddy_2.jpg&quot;
    , &quot;description&quot;: &quot;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&quot;
    } 
  , { &quot;colors&quot;     : [ &quot;Brown&quot;] 
    , &quot;_id&quot;        : &quot;5beaaa8f1c9d440000a57d95&quot;
    , &quot;name&quot;       : &quot;Lenny and Carl&quot;
    , &quot;price&quot;      : 5900
    , &quot;description&quot;: &quot;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&quot;
    , &quot;imageUrl&quot;   : &quot;http://localhost:3000/images/teddy_3.jpg&quot;
    } 
  , { &quot;colors&quot;     : [ &quot;Brown&quot;, &quot;Blue&quot;, &quot;Pink&quot;] 
    , &quot;_id&quot;        : &quot;5beaabe91c9d440000a57d96&quot;
    , &quot;name&quot;       : &quot;Gustav&quot;
    , &quot;price&quot;      : 4500
    , &quot;imageUrl&quot;   : &quot;http://localhost:3000/images/teddy_4.jpg&quot;
    , &quot;description&quot;: &quot;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&quot;
    } 
  , { &quot;colors&quot;     : [ &quot;Beige&quot;, &quot;Tan&quot;, &quot;Chocolate&quot;] 
    , &quot;_id&quot;        : &quot;5beaacd41c9d440000a57d97&quot;
    , &quot;name&quot;       : &quot;Garfunkel&quot;
    , &quot;price&quot;      : 5500
    , &quot;description&quot;: &quot;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.&quot;
    , &quot;imageUrl&quot;   : &quot;http://localhost:3000/images/teddy_5.jpg&quot;
    } 
  ] 
  </code></pre>
  <p>My project tells me that there are three endpoints: <a href="https://i.stack.imgur.com/A3KsO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A3KsO.png" alt="enter image description here" /></a></p>
  <p>I am supposed to use query parameters (definitely NOT dot notation) to get back the following specific information: <a href="https://i.stack.imgur.com/PJFJr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PJFJr.png" alt="enter image description here" /></a></p>
  <p>I can't see any way of using query parameters. Can anyone understand this? Thank you!!!</p>