title: How to config headers in axios on Laravel application
body: <p>I'm trying to build a small application on <code>Vuejs 2.0</code> where I'm having axios call and in configuration I'm setting the headers something like this:</p>
  
  <pre><code>const headers = {
      'Accept': 'application/json',
      'Content-Type': 'application/json',
      'origin': 'http://www.conxn.co.in',
      'Access-Control-Allow-Origin': '*'
  }
  </code></pre>
  
  <p>And calling the url something like this:</p>
  
  <pre><code>axios.post('http://www.conxn.co.in/CoxnsvcA.svc/Login', postData,{headers: getLoginHeader()})
  </code></pre>
  
  <p>But I can see the origin is not changed from local host:</p>
  
  <p><a href="https://i.stack.imgur.com/P4jUg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P4jUg.png" alt="screenshot"></a></p>
  
  <p>Guide me how can I set the Origin to the url as mentioned.</p>
  
  <p>Thanks</p>