Quantcast
Channel: Is it possible to feed a body payload into a DELETE request? - Stack Overflow
Browsing latest articles
Browse All 2 View Live

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 Article



Is 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
Browsing latest articles
Browse All 2 View Live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>