title: Axios is not outputting Console.log but the JSON data is being returned
body: <p>Why can't I grab the JSON  response from an API?  I have this function making an axios POST request to my API.</p>
  
  <pre><code>handleSubmit(event) {
      axios.post('/api/v1/user_token/',{
        auth: {
          email: this.state.email,
          password: this.state.password
        }
      })
    .then(function(response) {
      console.log(response.data);
      console.log(response.statusText);
    })
    .catch(function (error) {
      console.log(error);
    })
  }
  </code></pre>
  
  <p>It returns the correct JsonWebToken in the Response body.  But when I try and set a cookie with it or output it to console.log, like <code>console.log(response.data)</code> I see nothing in the output.  Relevant images attached.</p>
  
  <p><a href="https://i.stack.imgur.com/gA1p1.png" rel="nofollow noreferrer">JWT returning as expected</a></p>
  
  <p><a href="https://i.stack.imgur.com/0Xn2o.png" rel="nofollow noreferrer">But no output in the console</a></p>