Vue-resource: Why not support 'PATCH' method?

Created on 7 Mar 2017  ·  3Comments  ·  Source: pagekit/vue-resource

Most helpful comment

resource?

All 3 comments

It does supports PATCH

patch(url, [body], [options])

Works just like POST:

this.$http.patch('/someUrl', [body], [options]).then(successCallback, errorCallback)

Read more https://github.com/pagekit/vue-resource/blob/develop/docs/http.md

resource?

Technically is doesnt @ricardobanegas. When you use this.$http.patch() it does a PUT not a PATCH. So it's very misleading.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Jigsaw5279 picture Jigsaw5279  ·  5Comments

mikeyao picture mikeyao  ·  6Comments

santigraviano picture santigraviano  ·  5Comments

ionutvelicu picture ionutvelicu  ·  5Comments

laizhenhai88 picture laizhenhai88  ·  4Comments