get_data() {
this.$http
.post("/call.php", {
params: { foo: "bar" },
headers: { "Content-Type": "application/json" },
})
.then(
(response) => {
// success callback
},
(response) => {
// error callback
}
);
},