Axios get request, from Laravel backend and loop over results

Hi all,

Newbie looking for further help here :slight_smile: Sorry for the dumbass question…

I have an axios post like so

      getBlocks(event) {
            axios.get('/block/api/getByBlock/' + this.site)
                 .then((response) => {
                    console.log(response.data);
                
                 });
        },

The console log produces this:

Which shows me the Laravel collection, so 2 arrays in this instance, how do I then loop through them and get one element say the “address” field and push into a blockNames array within my Vue data object? So that I can have a for loop on select input to select either address?

Turns out this.blockNames = response.data; will do the trick. My bad, sorry for posting such dumb question.