title: "refused to set unsafe header cookie" in Axios Request
body: <p>i'm trying to send cookie:</p>
  <pre><code>    axios.get('https://localhost:44303/api/Home',{headers:{
        
                  &quot;Accept&quot;: &quot;application/json&quot;,
                  &quot;Authorization&quot;: &quot;Bearer &quot; + localStorage.getItem(&quot;user&quot;),
                  &quot;Cache-Control&quot;: &quot;no-cache&quot;,
                    'Cookie': document.cookie
                   // передача токена в заголовке
              },credentials: &quot;same-origin&quot;}, ).
              then(Response =&gt;this.games=Response.data );
            
        },
  </code></pre>
  <p>and i'm getting this error:
  <a href="https://i.stack.imgur.com/LFwoR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LFwoR.png" alt="enter image description here" /></a></p>
  <p>does anyone know how to solve this problem?</p>