title: POST Requests with axios not sending parameters
body: <p>I am trying to POST some data from Vue.js to a backend based on Symfony using the following code.</p>
  
  <pre><code>       updateQuestion : function() {
              axios.post('/staff/question/api/' + this.id,{
                      id : 'test',
                      name : 'sree'
              })
                  .then( response =&gt; {
  
                  console.log(response);
              })
                  .catch(error =&gt; {
                      console.log(error);
                  })
          },
  </code></pre>
  
  <p>However, the parameters that I am attaching to the POST request are not reaching my controller. So, I tried the alternate format for POST requests and still, the parameters are not reaching the controller. Please tell me what's wrong.</p>
  
  <p>Alternate format:</p>
  
  <pre><code> updateQuestion : function() {
              axios({
  
                  method : 'POST',
                  url : '/staff/question/api/' + this.id,
                  data: {
                      id : 'test',
                      name : 'sree'
                  }
  
              })
                  .then( response =&gt; {
  
                  console.log(response);
              })
                  .catch(error =&gt; {
                      console.log(error);
                  })
          },
  </code></pre>