Answer by Julian Reschke for Is it possible to feed a body payload into a...
The HTTP protocol allows to pass a request body, but in case of DELETE it doesn't make a lot of sense. After all it's the request URI that must identify the resource you want to delete.
View ArticleIs it possible to feed a body payload into a DELETE request?
I have a function like this:async deleteBuilding ({ commit, state }, payload) { const urlEnd = '/v1/building/update' const type = 'delete' const resp = await api.asyncRequest(urlEnd, type, payload)...
View Article