[Vuejs]-Why is myAxios POST request in Vue failing and returning "getter and setter"?

0👍

The getter and setter methods are how Vue proxies these requests. To debug, please change this piece in your submitBudget() function:

.then((response) => {
          console.log(response);
        })

to:

.then((response) => {
              console.log(response.data);
            })

And you should see some real data

Leave a comment