title: How to get post request to display in the console
body: <p>//Need some help on api in console. I need help figiuring this out</p>
  
  <pre><code>var options = { method: 'POST',
        url: URL + 'i/pushes/prepare?api_key=411f2297c3b58651019b3086e17bbfc7',
        qs: { api_key: '411f2297c3b58651019b3086e17bbfc7' } };
  
      request(options, function (error, response, body) {
        if (error) throw new Error(error);
  
        console.log(body);
      });
      //get request
      var options = { method: 'GET',
        url: URL + 'o?method=devices&amp;api_key=411f2297c3b58651019b3086e17bbfc7&amp;app_id=5bb537f0b5af9c065041f52d',
        qs: { app_id: '5bb537f0b5af9c065041f52d', api_key: '411f2297c3b58651019b3086e17bbfc7', method: 'devices' } };
  
      request(options, function (error, response, body) {
        if (error) throw new Error(error);
  
        console.log("DEVICE DATAS+++++++++++++++++++++++++++++++++++++++++++++++++")
        console.log(JSON.parse(body));
        console.log("Device info", ["2018"]["4"])
      });
  </code></pre>
  
  <p>//Please any help is appreciated</p>