axios.get('http://127.0.0.1:8000/management/api/list/', { Authorization: `jwt ${token}`}) .then(function (res) { self.info = res.data console.log('Data: ', res.data) }) .catch(function (error) { console.log('Error: ', error) })