title: Axios call api with GET become OPTIONS
body: <p>I use axios for calling API (in front-end).
  I use the method "GET" :</p>
  
  <pre><code>import axios from 'axios';
  import querystring from 'querystring';
  
  var url   = "mydomain.local",
      token = "blablabla...blabla";  
  
  var configs = {
      headers: {
          'Authorization': 'Bearer ' + token,
          'Agency': 'demo0'
      }
  };
  
  var testapi = axios.create({
          baseURL: 'http://api.' + url
      });
  
  testapi.get( '/relativeUrl', configs
  ).then(function (response) {
      console.log(response);
  }).catch(function (error) {
      console.log(error);
  });
  </code></pre>
  
  <p>I got a 405 Method Not Allowed. The method is "OPTIONS" but I use the method ".get()".
  <a href="https://i.stack.imgur.com/kq8OL.png" rel="noreferrer">405 Method Not Allowed. Method OPTIONS</a></p>
  
  <p>I test call api with postman and I get 200 OK :</p>
  
  <p><a href="https://i.stack.imgur.com/vAe6m.png" rel="noreferrer">postman 200 OK screenshot</a></p>
  
  <p>Anyone has an idea ?</p>