title: ReactJS axios post corse issue
body: <p>I am using axios for post request.I am getting an error no 'Access-Control-Allow-Origin' header is present on the requested resource </p>
  
  <pre><code>const apiUrl = `${this._url}/${route}`
  var headers = {
    'Content-Type': 'application/json',
    'Authorization': 'JWT token' 
  }
  return  axios.post(apiUrl,data,headers)
  </code></pre>
  
  <p>But If I use params like below code It will work. </p>
  
  <p><code>const _header={
        headers: { 
          'content-type': 'application/json'
        },
        method: 'post',
        url: apiUrl,
        params:data
      }
     axios(headers)
  </code> 
   I want to use data insated of params. </p>