title: vue.js and axios using but unable to receive set-cookie in response.headers
body: <p>I tried to call external api from Vue js coreui theme but unable receive set-cookie in response.headers</p>
  <p>Code is as below</p>
  <pre><code>axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
    axios.defaults.headers.common['Access-Control-Allow-Credentials'] = true;
    axios.defaults.headers.common['Access-Control-Allow-Origin'] = 'http://127.0.0.1:8000';
    axios.defaults.headers.common['Access-Control-Allow-Headers'] = 'X-PINGOTHER, Content-Type';
    axios.defaults.headers.common['Access-Control-Expose-Headers'] = 'Access-Token, Uid';
    axios.defaults.headers.common['Access-Control-Allow-Methods'] = 'POST, GET, OPTIONS';
      axios
      .post('url', 
      {
          par : '20'
      }, {
          withCredentials: true,
          })
      .then(function(response){
        console.log(response);
      })
      .catch(error =&gt; console.log(error))
  </code></pre>
  <p>I tried to use both</p>
  <pre><code>axios.defaults.headers.common['Access-Control-Expose-Headers'] = 'Access-Token, Uid';
  </code></pre>
  <p>this and</p>
  <pre><code>withCredentials: true,
  </code></pre>
  <p>Response is coming correct but headers not coming different</p>
  <p><a href="https://i.stack.imgur.com/PkHp8.png" rel="nofollow noreferrer">response.headers in console</a></p>
  <p>in developer tools as bellow:
  <a href="https://i.stack.imgur.com/WCWoH.png" rel="nofollow noreferrer">developer tools response header</a></p>
  <p>Note:
  On Postman I get the set-cookie but on application in response not getting.</p>
  <p>I tried each and everything related Axios and Vue js but still not getting set-cookies in headers.</p>