axios.get non cambriol

/**With axios you don't need an extra .json() .
Responses are already served as javascript object,
no need to parse, simply get response and access data.
You could use directly something like
*/


axios.get('/user/12345')
  .then(function (response) {
    console.log(response.data);
    console.log(response.status);
    console.log(response.statusText);
    console.log(response.headers);
    console.log(response.config);
  });
Frightened Falcon