it would be helpful if we console log our response data. I cannot fully understand your question, but maybe my experience is helpful. I also have experienced a problem accessing response data. my rest api returns response similar to : { data : { [ { id: 1 , caption: '1 Awesome desc' src: '' }, { id : 2 , caption: '2 Awesome desc' src: '' } ] }, info : { developer : 'Awesome developer' } } my js script (i used vuejs): axios. get (`https: //mydomain.dev/photos`) .then(response => { // JSON responses are automatically parsed. this .photos = response.data }) . catch (e => { this .errors.push(e) }) if I just use response.data, i get all the response (the photos and info), not the photos that I actually need. So photos is nested inside response.data this .photos = response.data.data // it works