What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-13 01:17:03
vue axios post return json data
// response is full Response object, with URL, headers, method and etc. axios.post("http://localhost:8080/api/some/awesome/endpoint", postData) .then(response => console.log(response.data)); // no need for .json method, becouse response.data... Add solution