title: req.cookies is [Object: null prototype] {} on express router
body: <p>Im currently trying to get some cookies for authentication purposes. Im using a backend API and a react Frontend to get the site working. But as soon as I try to get cookies in the backend with express, the only response I get is this: <code>[Object: null prototype] {}</code></p>
  <p>The cookies are stored <a href="https://i.stack.imgur.com/MKwpl.png" rel="nofollow noreferrer">correctly</a>, but cant be accessed. Any Idea why this is happening? Here is my code:</p>
  <pre><code>const { Router } = require(&quot;express&quot;);
  const route = Router();
  
  var cookieParser = require('cookie-parser');
  route.use(cookieParser());
  
  route.get(&quot;/&quot;, async (req, res) =&gt; {
     console.log(req.cookies)
  })
  </code></pre>
  <p>Any Idea why it keeps doing this? Thank you for your help :D</p>
  <hr />
  <p><em><strong>Edit</strong></em><br />
  I just noticed when I use fetch, its returning undefined, if I access the address by hand, its giving me the correct cookie. See <a href="https://i.stack.imgur.com/1cbx3.png" rel="nofollow noreferrer">here</a><br />
  Im using this code to fetch:</p>
  <pre><code>fetch(`${config.hosts.INTERNAL_API}/`, { 
      method: &quot;GET&quot;,
      headers: {
          Accept: 'application/json',
          'Content-Type': 'application/json',
        },
  }).then(res =&gt; res.json()).then(data =&gt; this.setState(data))
  </code></pre>
  <hr />