title: Axios posting params not read by $_POST
body: <p>So I have this code:</p>
  
  <pre><code>axios({
      method: 'post',
      url,
      headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
      data: {
          json,
          type,
      }   
  })  
  </code></pre>
  
  <p>Originally I had the normal <code>axios.post</code> but I changed to this because I thought it might have been a header problem. However I am still detecting nothing in my <code>$_REQUEST</code> nor <code>$_POST</code>. However, it is receiving data in <code>file_get_contents("php://input")</code>. </p>
  
  <p>Any idea what is wrong?</p>
  
  <p><b>Edit</b></p>
  
  <p>Okay I think I know what's wrong. It's posting it as a json object so it can only be read in the php://input. How do I change it to a normal string in axios?</p>