ReplyOct 4, 2018Try This : var url = 'assist/img/src'; var response = await this.getSrc(url ); console.log(response.data); async getSrc(url) { return await axios.get(url) }How can I use the data of axios's response outside?