Estou usando vuejs e estou fazendo as requisições ajax via vue-resources. Com vue-resources é possível fazer requisições assim:
this.$http.get('/someUrl').then(response => {
// get body data
this.someData = response.body;
}, response => {
// error callback
});
Preciso passar o http method via param algo como:
var method = "PATCH"
this.$http(url, data, method)
var method = "PATH"
é totalmente válida.