title: How to include credentials in node request?
body: <p>im trying to get array edges from this url <br>
  `<a href="https://www.instagram.com/graphql/query/?query_id=17851374694183129&amp;variables=" rel="nofollow noreferrer">https://www.instagram.com/graphql/query/?query_id=17851374694183129&amp;variables=</a>{"id":"500818047","first":10}</p>
  
  <p>In the frontend, I can get this array with fetch and credentials: 'include'.
  But I can't work with him because of CORS. So, <strong>I try to do</strong> this in <code>app.js</code> using node, but array is still hidden.<br />
  That's what I get:</p>
  
  <pre><code>{ 
     edge_followed_by:
     { 
       count: 18213,
       page_info: { has_next_page: false, end_cursor: null },
       edges: [] 
     } 
  }
  </code></pre>
  
  <p>How to enable the parameter credentials in node request? Or, if I do something wrong, how to get this array?</p>
  
  <pre><code>var cors = require('cors');
  app.use(cors());
  var request = require("request");
  
  const url = 'https://www.instagram.com/graphql/query/?query_id=17851374694183129&amp;variables={"id":"500818047","first":10}';
  
  request({
      url: url,
      json: true,
  }, function (error, response, body) {
  
      if (!error &amp;&amp; response.statusCode === 200) {
          console.log(body['data']['user'])
      }
  });
  </code></pre>