Vue 3 how to send parameters as json to axios get

Viewed 50

I have an api which I'm supposed to send a specific id as parameters to, so that it returns data based on the filtered list. I tried to send it as :

await this.$store.dispatch("axiosGet",
      {url: 'folder/api/property-walls'}, {propertyEid: this.id}).then(response => {
    if (response.status === 'error') return
    this.wallList = response.data.data.data
  })

but it doesn't make any differences. enter image description here my API recieves sth like this. can anyone help me out with the solution?

1 Answers
Related