title: How to add parameters to a GET request in node.js?
body: <p>I am trying to access the different information from the following api:<a href="https://api.coinnest.co.kr/doc/public.html" rel="nofollow noreferrer">https://api.coinnest.co.kr/doc/public.html</a> and stumped in trying to get data for all the different parameters for the /api/pub/ticker request</p>
  
  <p>Here is the code I have written so far, but i cant seem to get any different info for different parameters and end up getting the same information. For example how would i access the data for neo, using it as a parameter</p>
  
  <pre><code>var request = require('request')
  
  console.log('requesting market data from coinnest');
  request('https://api.coinnest.co.kr/api/pub/ticker/neo',(err,res,body) =&gt;{
      try{
          var json = JSON.parse(body);
          var markets = [];
          console.log(body);
      }catch(err){
          console.log('coinnest parsing error');
      }
  });
  </code></pre>
  
  <p>If someone could help give me some advice in what i am doing wrong it would be appreciated. Thanks</p>